mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
@ -157,6 +157,7 @@ export type TabMeStackParamList = {
|
||||
key: string // To update title after successful mutation
|
||||
}
|
||||
'Tab-Me-List-List': undefined
|
||||
'Tab-Me-Preferences': undefined
|
||||
'Tab-Me-Profile': undefined
|
||||
'Tab-Me-Push': undefined
|
||||
'Tab-Me-Settings': undefined
|
||||
|
@ -19,7 +19,7 @@ const usePreferencesQuery = (params?: {
|
||||
...params?.options,
|
||||
staleTime: Infinity,
|
||||
cacheTime: Infinity,
|
||||
initialData: getAccountStorage.object('preferences'),
|
||||
placeholderData: getAccountStorage.object('preferences'),
|
||||
onSuccess: data => setAccountStorage([{ key: 'preferences', value: data }])
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user