We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52b4cf2 commit 5ac0403Copy full SHA for 5ac0403
1 file changed
app/components/diff/MobileSidebarDrawer.vue
@@ -21,15 +21,10 @@ watch(
21
},
22
)
23
24
-const isLocked = useScrollLock(document)
+const isLocked = useScrollLock(import.meta.client ? document : null)
25
watch(open, value => {
26
isLocked.value = value
27
})
28
-
29
-function handleFileSelect(file: FileChange) {
30
- selectedFile.value = file
31
- open.value = false
32
-}
33
</script>
34
35
<template>
0 commit comments