1
0
Fork 0

Should be snapStates

This commit is contained in:
Lim Chee Aun 2023-06-11 23:27:09 +08:00
parent 5d2bdd05da
commit 69703df4e1

View file

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