From 7b6c9d513015f847af3b36a669a60336406b6150 Mon Sep 17 00:00:00 2001 From: xmflsct Date: Sun, 16 Jul 2023 23:10:05 +0200 Subject: [PATCH] Update index.tsx --- src/components/Timeline/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Timeline/index.tsx b/src/components/Timeline/index.tsx index c47f11e5..6a9a317b 100644 --- a/src/components/Timeline/index.tsx +++ b/src/components/Timeline/index.tsx @@ -380,8 +380,8 @@ const Timeline: React.FC = ({ if (readMarker) { setAccountStorage([{ key: readMarker, value: undefined }]) } + flRef.current?.scrollToOffset({ offset: 0 }) await refetch() - setTimeout(() => flRef.current?.scrollToOffset({ offset: 0 }), 50) }} >