From 69703df4e12d9ac26fe01574f4626f459dbe1237 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Sun, 11 Jun 2023 23:27:09 +0800 Subject: [PATCH] Should be snapStates --- src/pages/status.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/status.jsx b/src/pages/status.jsx index 0cf9043e..684d7b29 100644 --- a/src/pages/status.jsx +++ b/src/pages/status.jsx @@ -386,7 +386,7 @@ function StatusThread({ id, closeLink = '/', instance: propInstance }) { useEffect(() => { if (!statuses.length) return; console.debug('STATUSES', statuses); - const scrollPosition = states.scrollPositions[id]; + const scrollPosition = snapStates.scrollPositions[id]; console.debug('scrollPosition', scrollPosition); if (!!scrollPosition) { console.debug('Case 1', {