made setFavItemIds indepedent of collections updates
This commit is contained in:
parent
42aca0ca00
commit
c281465fcd
1 changed files with 3 additions and 3 deletions
|
@ -146,9 +146,9 @@ export default function Gallery(props) {
|
|||
if (updatedCollections.length > 0) {
|
||||
setCollections(collections);
|
||||
setData(data);
|
||||
setCollectionLatestFile(collectionLatestFile);
|
||||
setFavItemIds(favItemIds);
|
||||
}
|
||||
setCollectionLatestFile(collectionLatestFile);
|
||||
setFavItemIds(favItemIds);
|
||||
setProgress(100);
|
||||
};
|
||||
main();
|
||||
|
@ -325,7 +325,7 @@ export default function Gallery(props) {
|
|||
showUploadModal={props.showUploadModal}
|
||||
collectionLatestFile={collectionLatestFile}
|
||||
refetchData={() => setReload(Math.random())}
|
||||
|
||||
|
||||
/>
|
||||
{filteredData.length ? (
|
||||
<Container>
|
||||
|
|
Loading…
Add table
Reference in a new issue