Merge pull request #295 from ente-io/fix-search-count
fix search count by updating it when filteredData changes
This commit is contained in:
commit
44b2907c69
|
@ -130,7 +130,7 @@ const PhotoFrame = ({
|
|||
onThumbnailClick(filteredDataIdx)();
|
||||
}
|
||||
}
|
||||
}, [search]);
|
||||
}, [search, filteredData]);
|
||||
|
||||
const resetFetching = () => {
|
||||
setFetching({});
|
||||
|
|
Loading…
Reference in a new issue