diff options
Diffstat (limited to 'src/components/Button.tsx')
-rw-r--r-- | src/components/Button.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/Button.tsx b/src/components/Button.tsx index fd56a28cf..5a0f0c1c7 100644 --- a/src/components/Button.tsx +++ b/src/components/Button.tsx @@ -109,6 +109,7 @@ const Context = React.createContext<VariantProps & ButtonState>({ pressed: false, disabled: false, }) +Context.displayName = 'ButtonContext' export function useButtonContext() { return React.useContext(Context) |