Skip to content

Commit 196c1c0

Browse files
committed
Fixing the searchPage Issue : setFilterOptions is not a function.
1 parent 39dda33 commit 196c1c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/venia-ui/lib/components/FilterSidebar/filterSidebar.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ const FilterSidebar = props => {
7878
);
7979

8080
useEffect(() => {
81-
if (filterState) {
81+
if (filterState && setFilterOptions) {
8282
setFilterOptions(filterState);
8383
}
8484
}, [filterState, setFilterOptions]);

0 commit comments

Comments
 (0)