about summary refs log tree commit diff
path: root/src/components/Select/index.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/Select/index.tsx')
-rw-r--r--src/components/Select/index.tsx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/Select/index.tsx b/src/components/Select/index.tsx
index 4e8e53216..82520f12a 100644
--- a/src/components/Select/index.tsx
+++ b/src/components/Select/index.tsx
@@ -34,10 +34,12 @@ type ContextType = {
 } & Pick<RootProps, 'value' | 'onValueChange' | 'disabled'>
 
 const Context = createContext<ContextType | null>(null)
+Context.displayName = 'SelectContext'
 
 const ValueTextContext = createContext<
   [any, React.Dispatch<React.SetStateAction<any>>]
 >([undefined, () => {}])
+ValueTextContext.displayName = 'ValueTextContext'
 
 function useSelectContext() {
   const ctx = useContext(Context)
@@ -229,6 +231,7 @@ const ItemContext = createContext<{
   focused: false,
   pressed: false,
 })
+ItemContext.displayName = 'SelectItemContext'
 
 export function useItemContext() {
   return useContext(ItemContext)