diff options
Diffstat (limited to 'src/view/shell/index.web.tsx')
-rw-r--r-- | src/view/shell/index.web.tsx | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/view/shell/index.web.tsx b/src/view/shell/index.web.tsx index 9a97505e8..a588c99a1 100644 --- a/src/view/shell/index.web.tsx +++ b/src/view/shell/index.web.tsx @@ -4,7 +4,6 @@ import {View, StyleSheet} from 'react-native' import {useStores} from 'state/index' import {DesktopLeftNav} from './desktop/LeftNav' import {DesktopRightNav} from './desktop/RightNav' -import {Login} from '../screens/Login' import {ErrorBoundary} from '../com/util/ErrorBoundary' import {Lightbox} from '../com/lightbox/Lightbox' import {ModalsContainer} from '../com/modals/Modal' @@ -45,21 +44,10 @@ const ShellInner = observer(() => { export const Shell: React.FC = observer(() => { const pageBg = useColorSchemeStyle(styles.bgLight, styles.bgDark) - const store = useStores() if (isMobileWeb) { return <NoMobileWeb /> } - - if (!store.session.hasSession) { - return ( - <View style={[s.hContentRegion, pageBg]}> - <Login /> - <ModalsContainer /> - </View> - ) - } - return ( <View style={[s.hContentRegion, pageBg]}> <RoutesContainer> |