refactor: fix overlay cleanup

This commit is contained in:
Aman Harwara
2023-02-09 15:08:16 +05:30
parent 3c068656e0
commit 663603973d

View File

@@ -63,6 +63,7 @@ export const usePaneSwipeGesture = (
}
overlayElementRef.current?.remove()
overlayElementRef.current = null
}
}