mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Add some debug
This commit is contained in:
parent
8d77341dd0
commit
36e62f2984
3 changed files with 3 additions and 3 deletions
|
|
@ -21,7 +21,7 @@ type ConfirmationModalProps = {
|
|||
export function ConfirmationModal(props: ConfirmationModalProps): JSX.Element {
|
||||
const safeOnOpenChange = useCallback(
|
||||
(open: boolean) => {
|
||||
document.body.style.removeProperty('pointer-events')
|
||||
// document.body.style.removeProperty('pointer-events')
|
||||
props.onOpenChange(open)
|
||||
},
|
||||
[props]
|
||||
|
|
|
|||
|
|
@ -173,7 +173,7 @@ export function SetLabelsModal(props: SetLabelsModalProps): JSX.Element {
|
|||
const safeOnOpenChange = useCallback(
|
||||
(open: boolean) => {
|
||||
console.log('safe on open change called')
|
||||
document.body.style.removeProperty('pointer-events')
|
||||
// document.body.style.removeProperty('pointer-events')
|
||||
props.onOpenChange(open)
|
||||
},
|
||||
[props]
|
||||
|
|
|
|||
|
|
@ -1345,7 +1345,7 @@ function LibraryItems(props: LibraryItemsProps): JSX.Element {
|
|||
} else {
|
||||
props.actionHandler(action, linkedItem)
|
||||
}
|
||||
document.body.style.removeProperty('pointer-events')
|
||||
// document.body.style.removeProperty('pointer-events')
|
||||
}}
|
||||
/>
|
||||
)}
|
||||
|
|
|
|||
Loading…
Reference in a new issue