1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00

Fix details on timeline

This commit is contained in:
Zhiyuan Zheng
2021-03-04 14:11:08 +01:00
parent cc02626adb
commit ed9a58355a
7 changed files with 9 additions and 6 deletions

View File

@ -58,8 +58,8 @@ const Timeline: React.FC<Props> = ({
...queryKey[1],
options: {
notifyOnChangeProps: Platform.select({
ios: ['data', 'isFetching'],
android: ['data', 'isFetching', 'isLoading']
ios: ['dataUpdatedAt', 'isFetching'],
android: ['dataUpdatedAt', 'isFetching', 'isLoading']
}),
getNextPageParam: lastPage =>
lastPage?.links?.next && { max_id: lastPage.links.next }