diff --git a/app/(tabs)/index.tsx b/app/(tabs)/index.tsx index 26ce06e..37c87bd 100644 --- a/app/(tabs)/index.tsx +++ b/app/(tabs)/index.tsx @@ -582,11 +582,11 @@ const GooActions = observer(function GooActions({ gooPoints, on {isDev && isPolling && } )} - {!!isAuthenticated && ( + {!!isLogin && ( router.push('/settings')}> - )} + )} { data={posts} // drawDistance={300} maxItemsInRecyclePool={0} - removeClippedSubviews={true} + // removeClippedSubviews={true} ItemSeparatorComponent={() => } keyExtractor={(item: any) => item?.id} ListFooterComponent={ListFooter} diff --git a/app/settings.tsx b/app/settings.tsx index 811c241..c861293 100644 --- a/app/settings.tsx +++ b/app/settings.tsx @@ -15,7 +15,7 @@ type MenuItem = { } export default observer(function SettingsPage() { - const { user, isAuthenticated, signOut } = userStore + const { user, signOut } = userStore const handleLogout = () => { Toast.showModal(