Untitled

Anonymous
plain_text
11/25/2023 11:25 AM
320 B
12
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