From 5b7e6d22f2a2fe45bfacbc35831a16d46e686c6e Mon Sep 17 00:00:00 2001 From: Gustavo Emanuel Farias Rosa Date: Tue, 22 Mar 2022 09:33:41 -0300 Subject: [PATCH] ajust in bug of duplicated code in the last pr --- .../app/pages/store_portals/component.tsx | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/react-native/app/pages/store_portals/component.tsx b/react-native/app/pages/store_portals/component.tsx index 4bdd3a4..b547d2a 100644 --- a/react-native/app/pages/store_portals/component.tsx +++ b/react-native/app/pages/store_portals/component.tsx @@ -56,23 +56,6 @@ export const StorePortals = ({navigation, modalizeRef}: IStore) => { } } - const textEmptyFields = () => ( - <> - {emptyFields ? ( - - {i18next.t('mobileApp.portals.addPortalPopup.validation.emptyFilds')} - - ) : null} - {nameAlreadyUsed ? ( - - {i18next.t( - 'mobileApp.portals.addPortalPopup.validation.portalNameAlreadyExists', - )} - - ) : null} - - );; - const textEmptyFields = () => ( <> {emptyFields ? (