diff options
author | Eric Bailey <git@esb.lol> | 2023-11-01 10:38:37 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-01 10:38:37 -0500 |
commit | 4bf17190925db937835707efee41a907f07a787d (patch) | |
tree | 2f0ee6535610e308309477eec8f811368d426068 /src/App.web.tsx | |
parent | 85c26fb5a8eef0c60aba1b27d8d516034a7e508e (diff) | |
parent | b42806a6e0466619ecf2db014af5f0c1f90b805a (diff) | |
download | voidsky-4bf17190925db937835707efee41a907f07a787d.tar.zst |
Merge pull request #1788 from bluesky-social/eric/app-899-remove-icons-from-startup-code
Revise icons startup code
Diffstat (limited to 'src/App.web.tsx')
-rw-r--r-- | src/App.web.tsx | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/src/App.web.tsx b/src/App.web.tsx index a9123cc58..3b67af0dc 100644 --- a/src/App.web.tsx +++ b/src/App.web.tsx @@ -1,15 +1,18 @@ +import 'lib/sentry' // must be near top + import React, {useState, useEffect} from 'react' -import 'lib/sentry' // must be relatively on top +import {observer} from 'mobx-react-lite' +import {QueryClientProvider} from '@tanstack/react-query' import {SafeAreaProvider} from 'react-native-safe-area-context' import {RootSiblingParent} from 'react-native-root-siblings' -import * as view from './view/index' + +import 'view/icons' + import * as analytics from 'lib/analytics/analytics' import {RootStoreModel, setupState, RootStoreProvider} from './state' -import {Shell} from './view/shell/index' -import {ToastContainer} from './view/com/util/Toast.web' +import {Shell} from 'view/shell/index' +import {ToastContainer} from 'view/com/util/Toast.web' import {ThemeProvider} from 'lib/ThemeContext' -import {observer} from 'mobx-react-lite' -import {QueryClientProvider} from '@tanstack/react-query' import {queryClient} from 'lib/react-query' const App = observer(function AppImpl() { @@ -19,7 +22,6 @@ const App = observer(function AppImpl() { // init useEffect(() => { - view.setup() setupState().then(store => { setRootStore(store) analytics.init(store) |