refactor: fix overlay cleanup
This commit is contained in:
@@ -63,6 +63,7 @@ export const usePaneSwipeGesture = (
|
|||||||
}
|
}
|
||||||
|
|
||||||
overlayElementRef.current?.remove()
|
overlayElementRef.current?.remove()
|
||||||
|
overlayElementRef.current = null
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user