Untitled
unknown
plain_text
2 years ago
238 B
4
Indexable
useEffect(() => {
let sortApplied = sortOptions.some(option => option.current);
if (!sortApplied) {
setSortApplied(false);
props.setSortOptions([]);
} else{
setSortApplied(true);
}
}, [sortOptions])
Editor is loading...
Leave a Comment