Need to reset cachedStatusesMap too

This commit is contained in:
Lim Chee Aun 2023-01-22 19:21:24 +08:00
parent a495e1fa68
commit e7dffecfe0

View file

@ -25,6 +25,7 @@ import useTitle from '../utils/useTitle';
const LIMIT = 40;
function resetScrollPosition(id) {
delete cachedStatusesMap.current[id];
delete states.scrollPositions[id];
}