Skip to content

Commit 6c4fa64

Browse files
committed
perf(code-mobile-tree-drawer): use shallowRef instead deep ref
1 parent 0f52a6c commit 6c4fa64

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/components/CodeMobileTreeDrawer.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ defineProps<{
77
baseUrl: string
88
}>()
99
10-
const isOpen = ref(false)
10+
const isOpen = shallowRef(false)
1111
1212
// Close drawer on navigation
1313
const route = useRoute()

0 commit comments

Comments
 (0)