mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-01-22 16:46:28 +01:00
Should be snapStates
This commit is contained in:
parent
5d2bdd05da
commit
69703df4e1
1 changed files with 1 additions and 1 deletions
|
@ -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', {
|
||||
|
|
Loading…
Reference in a new issue