Should be snapStates

pull/160/head
Lim Chee Aun 2023-06-11 23:27:09 +08:00
rodzic 5d2bdd05da
commit 69703df4e1
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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', {