fix: types
This commit is contained in:
parent
79b4703026
commit
5b6dbd2a6d
|
|
@ -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",
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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 }
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue