Skip to content

Commit ecb8ca5

Browse files
committed
fix: error message
1 parent 2127638 commit ecb8ca5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/components/Tab/Panel.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const getTabId = inject<(value: string) => string>('tabs-tab-id')
1111
const getPanelId = inject<(value: string) => string>('tabs-panel-id')
1212
1313
if (!selected || !getTabId || !getPanelId) {
14-
throw new Error('TabItem must be used inside a TabRoot component')
14+
throw new Error('TabPanel must be used inside a TabRoot component')
1515
}
1616
1717
const isSelected = computed(() => selected.value === props.value)

0 commit comments

Comments
 (0)