Skip to content

Commit

Permalink
fix(Select): arrow is throwing content context injection error (#1398)
Browse files Browse the repository at this point in the history
  • Loading branch information
zernonia authored Oct 29, 2024
1 parent fc58681 commit 025d7d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/radix-vue/src/Select/SelectArrow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export interface SelectArrowProps extends PopperArrowProps {}

<script setup lang="ts">
import { injectSelectRootContext } from './SelectRoot.vue'
import { injectSelectContentContext } from './SelectContentImpl.vue'
import { SelectContentDefaultContextValue, injectSelectContentContext } from './SelectContentImpl.vue'
import { PopperArrow } from '@/Popper'
const props = withDefaults(defineProps<SelectArrowProps>(), {
Expand All @@ -15,7 +15,7 @@ const props = withDefaults(defineProps<SelectArrowProps>(), {
as: 'svg',
})
const rootContext = injectSelectRootContext()
const contentContext = injectSelectContentContext()
const contentContext = injectSelectContentContext(SelectContentDefaultContextValue)
</script>

<template>
Expand Down

0 comments on commit 025d7d3

Please # to comment.