text: import React, { useContext } from 'react';
  import { NavigationContainer } from '@react-navigation/native';
  import { createStackNavigator } from '@react-navigation/stack';
  
  import { AppNavigator } from './AppNavigator';
  import { AccountNavigator } from './AccountNavigator';
  
  import { AuthenticationContext } from '../../services/authentication/AuthenticationContext';
  
  const Root = createStackNavigator();
  
  export const Navigation = () => {
    const { isAuthenticated } = useContext(AuthenticationContext);
    return (
      <NavigationContainer>
        {/*isAuthenticated ? <AppNavigator /> : <AccountNavigator />*/}
        <Root.Navigator
          screenOptions={{ headerShown: false }}
          initialRouteName="Account"
        >
          <Root.Screen name="Account" component={AccountNavigator} />
        </Root.Navigator>
      </NavigationContainer>
    );
  };
  