Skip to content

Commit 2b36ee1

Browse files
committed
fix: role is undefined not null
1 parent f42178e commit 2b36ee1

File tree

1 file changed

+2
-2
lines changed
  • packages/bootstrap-vue-3/src/components/BNav

1 file changed

+2
-2
lines changed

packages/bootstrap-vue-3/src/components/BNav/BNavbar.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ const props = withDefaults(defineProps<Props>(), {
2020
tag: 'nav',
2121
})
2222
23-
const computedRole = computed<null | 'navigation'>(() =>
24-
props.tag === 'nav' ? null : 'navigation'
23+
const computedRole = computed<undefined | 'navigation'>(() =>
24+
props.tag === 'nav' ? undefined : 'navigation'
2525
)
2626
2727
const classes = computed(() => ({

0 commit comments

Comments
 (0)