mirror of
https://github.com/filecoin-project/slate.git
synced 2024-11-09 20:28:29 +03:00
fix(Filter): fix stale state issue
This commit is contained in:
parent
eafb38b004
commit
f2e0eee6a1
@ -85,7 +85,7 @@ const useFilterWorker = ({ filterState, setFilterObjects, library }) => {
|
||||
setFilterObjects(e.data);
|
||||
},
|
||||
},
|
||||
[view, subview, type]
|
||||
[view, subview, library, type]
|
||||
);
|
||||
|
||||
return workerState;
|
||||
|
Loading…
Reference in New Issue
Block a user