Skip to content

Commit

Permalink
fix: remove redundant strings
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaowangxiaowang256256 committed Mar 12, 2024
1 parent 6977008 commit a93487e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/app-navbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const toggleDark = useToggle(isDark)

<div class="content" flex flex-grow-1 items-center flex-justify-end>
<!-- menu -->
<NavMenu v-if="isLargeScreen" />
<NavMenu v-show="isLargeScreen" />

<!-- search -->
<!-- <NavSearch /> -->
Expand Down
2 changes: 1 addition & 1 deletion src/utils/store-data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
export const menuList = ref([{ name: '🩷 Sponsors', href: '/sponsors' }])

/** isLargeScreen info */
export const isLargeScreen = useMediaQuery('(min-width: 768px))')
export const isLargeScreen = useMediaQuery('(min-width: 768px)')

/** isShowMenu */
export const isShowMenu = ref(false)

0 comments on commit a93487e

Please sign in to comment.