mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-02 22:26:57 +01:00
Need to reset cachedStatusesMap too
This commit is contained in:
parent
a495e1fa68
commit
e7dffecfe0
1 changed files with 1 additions and 0 deletions
|
@ -25,6 +25,7 @@ import useTitle from '../utils/useTitle';
|
||||||
const LIMIT = 40;
|
const LIMIT = 40;
|
||||||
|
|
||||||
function resetScrollPosition(id) {
|
function resetScrollPosition(id) {
|
||||||
|
delete cachedStatusesMap.current[id];
|
||||||
delete states.scrollPositions[id];
|
delete states.scrollPositions[id];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue