mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-03-22 05:39:20 +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(() => {
|
useEffect(() => {
|
||||||
if (!statuses.length) return;
|
if (!statuses.length) return;
|
||||||
console.debug('STATUSES', statuses);
|
console.debug('STATUSES', statuses);
|
||||||
const scrollPosition = states.scrollPositions[id];
|
const scrollPosition = snapStates.scrollPositions[id];
|
||||||
console.debug('scrollPosition', scrollPosition);
|
console.debug('scrollPosition', scrollPosition);
|
||||||
if (!!scrollPosition) {
|
if (!!scrollPosition) {
|
||||||
console.debug('Case 1', {
|
console.debug('Case 1', {
|
||||||
|
|
Loading…
Reference in a new issue