From 261a935747019d21981a8f3cf0cfd7d83b320cde Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Thu, 7 Dec 2023 12:25:55 -0600 Subject: More session improvements (#2129) * More session improvements * Drop resume session retries from 3 to 1 --------- Co-authored-by: Paul Frazee --- src/App.native.tsx | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'src/App.native.tsx') diff --git a/src/App.native.tsx b/src/App.native.tsx index 9b9287789..538e9b32d 100644 --- a/src/App.native.tsx +++ b/src/App.native.tsx @@ -39,7 +39,7 @@ SplashScreen.preventAutoHideAsync() function InnerApp() { const colorMode = useColorMode() - const {isInitialLoad, currentAccount} = useSession() + const {currentAccount} = useSession() const {resumeSession} = useSessionApi() // init @@ -53,16 +53,6 @@ function InnerApp() { resumeSession(account) }, [resumeSession]) - // show nothing prior to init - if (isInitialLoad) { - // TODO add a loading state - return null - } - - /* - * Session and initial state should be loaded prior to rendering below. - */ - return (