From bac973fb3d933c383cc69612c7ffc45ece837dde Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sun, 29 Sep 2024 13:19:11 +0530 Subject: Switch to jotai atom with storage + suspense for favorites list --- App.tsx | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) (limited to 'App.tsx') diff --git a/App.tsx b/App.tsx index dd4cdd8..76ea9f1 100644 --- a/App.tsx +++ b/App.tsx @@ -1,18 +1,20 @@ -import React from 'react'; -import {SafeAreaView} from 'react-native'; +import React, {Suspense} from 'react'; +import {SafeAreaView, View} from 'react-native'; import {GestureHandlerRootView} from 'react-native-gesture-handler'; -import {View} from './src/View'; +import {AppView} from './src/AppView'; import {Provider as JotaiProvider} from 'jotai'; const App: React.FC = () => { return ( - - - - - - - + }> + + + + + + + + ); }; -- cgit v1.3.1