Browse Source

fix: reset persistence state on open change

imwald
codytseng 7 months ago
parent
commit
a9caf9d5ad
  1. 1
      src/components/KindFilter/index.tsx

1
src/components/KindFilter/index.tsx

@ -41,6 +41,7 @@ export default function KindFilter({
useEffect(() => { useEffect(() => {
setTemporaryShowKinds(showKinds) setTemporaryShowKinds(showKinds)
setIsPersistent(false)
}, [open]) }, [open])
const handleApply = () => { const handleApply = () => {

Loading…
Cancel
Save