Skip to content

Commit

Permalink
style: fix some code styles
Browse files Browse the repository at this point in the history
  • Loading branch information
kiaking committed Feb 11, 2021
1 parent 5678dc3 commit 3b45843
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 3 additions & 1 deletion src/client/theme-default/components/NavDropdownLinkItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ import OutboundLink from './icons/OutboundLink.vue'
const props = defineProps<{
item: DefaultTheme.NavItemWithLink
}>()
const propsRefs = toRefs(props);
const propsRefs = toRefs(props)
const { props: linkProps, isExternal } = useNavLink(propsRefs.item)
</script>

Expand Down
8 changes: 5 additions & 3 deletions src/client/theme-default/components/NavLink.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@ import OutboundLink from './icons/OutboundLink.vue'
const props = defineProps<{
item: DefaultTheme.NavItemWithLink,
}>();
const propsRefs = toRefs(props);
const { props: linkProps, isExternal } = useNavLink(propsRefs.item);
}>()
const propsRefs = toRefs(props)
const { props: linkProps, isExternal } = useNavLink(propsRefs.item)
</script>

<style scoped>
Expand Down

0 comments on commit 3b45843

Please sign in to comment.