Fix condition to render drawers

This commit is contained in:
Tiago Jacobs
2022-04-16 18:45:16 -03:00
parent ec7c1991b5
commit 8f48cda6b7

View File

@@ -43,7 +43,7 @@ export const Routes = () => {
name={i18next.t('mobileApp.portals.drawerNavigation.button.label')}
component={ListPortals}
/>
{portals || portals != 0
{portals && portals.length
? portals.map(item => {
return (
<Drawer.Screen