1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00

Restructure the project

This commit is contained in:
Zhiyuan Zheng
2020-11-21 13:19:05 +01:00
parent 3280663144
commit 40266b8ce3
42 changed files with 252 additions and 6619 deletions

14
src/screens/Me/Root.tsx Normal file
View File

@@ -0,0 +1,14 @@
import React from 'react'
import { View } from 'react-native'
import store from 'src/store'
import { getLocalRegistered } from 'src/utils/slices/instancesSlice'
import Login from './Root/Login'
const ScreenMeRoot: React.FC = () => {
const localRegistered = getLocalRegistered(store.getState())
return <View>{localRegistered ? <></> : <Login />}</View>
}
export default ScreenMeRoot