diff --git a/app/AppContainer.js b/app/AppContainer.js index 1c6a32603..55219bca5 100644 --- a/app/AppContainer.js +++ b/app/AppContainer.js @@ -32,7 +32,6 @@ const SetUsernameStack = () => ( ); // App -const Stack = createStackNavigator(); const App = React.memo(({ root }) => { if (!root || root === ROOT_BACKGROUND) { return null; @@ -41,34 +40,12 @@ const App = React.memo(({ root }) => { return ( - - <> - {root === ROOT_LOADING ? ( - - ) : null} - {root === ROOT_OUTSIDE || root === ROOT_NEW_SERVER ? ( - - ) : null} - {root === ROOT_INSIDE ? ( - - ) : null} - {root === ROOT_SET_USERNAME ? ( - - ) : null} - - + <> + {root === ROOT_LOADING ? : null} + {root === ROOT_OUTSIDE || root === ROOT_NEW_SERVER ? : null} + {root === ROOT_INSIDE ? : null} + {root === ROOT_SET_USERNAME ? : null} + );