fix: reset persistence state on open change
This commit is contained in:
@@ -41,6 +41,7 @@ export default function KindFilter({
|
|||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
setTemporaryShowKinds(showKinds)
|
setTemporaryShowKinds(showKinds)
|
||||||
|
setIsPersistent(false)
|
||||||
}, [open])
|
}, [open])
|
||||||
|
|
||||||
const handleApply = () => {
|
const handleApply = () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user