diff --git a/apps/mobile/src/app/Router.tsx b/apps/mobile/src/app/Router.tsx index 9a235a78..96a2388f 100644 --- a/apps/mobile/src/app/Router.tsx +++ b/apps/mobile/src/app/Router.tsx @@ -3,7 +3,6 @@ import { NavigationContainer } from '@react-navigation/native'; import { createNativeStackNavigator } from '@react-navigation/native-stack'; import { useEffect, useState } from 'react'; import { Dimensions, Platform, StyleSheet, View } from 'react-native'; - import { Icon } from '../components'; import { useStyles, useTheme } from '../hooks'; import { CreateAccount } from '../screens/Auth/CreateAccount'; @@ -217,14 +216,10 @@ const RootNavigator: React.FC = () => { export const Router: React.FC = () => { const isWeb = Platform.OS === 'web'; const windowWidth = Dimensions.get('window').width; - const shouldShowSidebar = isWeb && windowWidth >= 768; - const styles = useStyles(stylesheet); - return ( - ); diff --git a/apps/mobile/src/components/Skeleton/RootScreenContainer.tsx b/apps/mobile/src/components/Skeleton/RootScreenContainer.tsx index 906cf17a..76120c59 100644 --- a/apps/mobile/src/components/Skeleton/RootScreenContainer.tsx +++ b/apps/mobile/src/components/Skeleton/RootScreenContainer.tsx @@ -13,7 +13,7 @@ export const RootScreenContainer: React.FC = ({ style, children, ...p return ( - {/* {shouldShowSidebar && } */} + {shouldShowSidebar && } {children} );