Add mock API and reorg code for clarity

This commit is contained in:
Paul Frazee 2022-07-18 15:24:37 -05:00
parent de87ec17d1
commit 1d00f3b984
29 changed files with 356 additions and 168 deletions

View file

@ -1,7 +1,8 @@
import 'react-native-url-polyfill/auto'
import React, {useState, useEffect} from 'react'
import {whenWebCrypto} from './platform/polyfills.native'
import {RootStore, setupState, RootStoreProvider} from './state'
import * as Routes from './routes'
import * as Routes from './view/routes'
function App() {
const [rootStore, setRootStore] = useState<RootStore | undefined>(undefined)