fix: types

This commit is contained in:
DIYgod
2025-02-20 11:29:29 +08:00
parent 79b4703026
commit 5b6dbd2a6d
2 changed files with 4 additions and 8 deletions
@@ -102,11 +102,8 @@ const SettingGroupNavigationLinks: GroupNavigationLink[] = [
{
label: "Account",
icon: UserSettingCuteFiIcon,
onPress: (navigation, scrollRef) => {
scrollRef.current?.scrollTo({ y: 0, animated: true })
setTimeout(() => {
navigation.navigate("Account")
}, 100)
onPress: (navigation) => {
navigation.navigate("Account")
},
iconBackgroundColor: "#d08700",
},
+2 -3
View File
@@ -5,12 +5,11 @@ export type SettingsStackParamList = {
Notifications: undefined
Appearance: undefined
Data: undefined
Account: undefined
Actions: undefined
Lists: undefined
Feeds: undefined
Privacy: undefined
About: undefined
ManageList: {
id: string
}
ManageList: { id: string }
}