Update index.tsx

This commit is contained in:
xmflsct 2023-07-16 23:10:05 +02:00
parent da623dac56
commit 7b6c9d5130
No known key found for this signature in database
GPG Key ID: 078A93AB607D85E0
1 changed files with 1 additions and 1 deletions

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