import React from 'react' import { ScrollView } from 'react-native' import { useSelector } from 'react-redux' import { RootState, store } from 'src/store' import { getLocalAccountId } from 'src/utils/slices/instancesSlice' import Login from './Root/Login' import MyInfo from './Root/MyInfo' import MyCollections from './Root/MyCollections' import Settings from './Root/Settings' const ScreenMeRoot: React.FC = () => { const localRegistered = useSelector( (state: RootState) => state.instances.local.url ) return ( {localRegistered ? ( ) : ( )} {localRegistered && ( )} ) } export default ScreenMeRoot