Untitled
unknown
plain_text
2 years ago
238 B
3
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