mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-27 03:35:50 +03: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;
|
||||
|
||||
function resetScrollPosition(id) {
|
||||
delete cachedStatusesMap.current[id];
|
||||
delete states.scrollPositions[id];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue