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

Update index.tsx

This commit is contained in:
xmflsct
2023-07-16 23:10:05 +02:00
parent da623dac56
commit 7b6c9d5130

View File

@ -380,8 +380,8 @@ const Timeline: React.FC<Props> = ({
if (readMarker) {
setAccountStorage([{ key: readMarker, value: undefined }])
}
flRef.current?.scrollToOffset({ offset: 0 })
await refetch()
setTimeout(() => flRef.current?.scrollToOffset({ offset: 0 }), 50)
}}
>
<CustomText