fix: 修改登录状态检查,移除不必要的属性
This commit is contained in:
parent
57aeda8f78
commit
244155ef95
|
|
@ -582,7 +582,7 @@ const GooActions = observer<GooActionsProps>(function GooActions({ gooPoints, on
|
|||
{isDev && isPolling && <Block className="ml-[4px] size-[6px] rounded-full bg-green-500" />}
|
||||
</Block>
|
||||
)}
|
||||
{!!isAuthenticated && (
|
||||
{!!isLogin && (
|
||||
<Block onClick={() => router.push('/settings')}>
|
||||
<Ionicons color="white" name="settings-outline" size={22} />
|
||||
</Block>
|
||||
|
|
|
|||
|
|
@ -427,7 +427,7 @@ const Sync = observer(() => {
|
|||
data={posts}
|
||||
// drawDistance={300}
|
||||
maxItemsInRecyclePool={0}
|
||||
removeClippedSubviews={true}
|
||||
// removeClippedSubviews={true}
|
||||
ItemSeparatorComponent={() => <Block style={{ height: 6 }} />}
|
||||
keyExtractor={(item: any) => item?.id}
|
||||
ListFooterComponent={ListFooter}
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ type MenuItem = {
|
|||
}
|
||||
|
||||
export default observer(function SettingsPage() {
|
||||
const { user, isAuthenticated, signOut } = userStore
|
||||
const { user, signOut } = userStore
|
||||
|
||||
const handleLogout = () => {
|
||||
Toast.showModal(
|
||||
|
|
|
|||
Loading…
Reference in New Issue