style: fix some code styles

pull/233/head
Kia King Ishii 4 years ago
parent 5678dc3a25
commit 3b4584377c

@ -17,7 +17,9 @@ import OutboundLink from './icons/OutboundLink.vue'
const props = defineProps<{ const props = defineProps<{
item: DefaultTheme.NavItemWithLink item: DefaultTheme.NavItemWithLink
}>() }>()
const propsRefs = toRefs(props);
const propsRefs = toRefs(props)
const { props: linkProps, isExternal } = useNavLink(propsRefs.item) const { props: linkProps, isExternal } = useNavLink(propsRefs.item)
</script> </script>

@ -14,9 +14,11 @@ import OutboundLink from './icons/OutboundLink.vue'
const props = defineProps<{ const props = defineProps<{
item: DefaultTheme.NavItemWithLink, 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> </script>
<style scoped> <style scoped>

Loading…
Cancel
Save