From b2c56cbd6dfa9af576f947dd41a0d33376b184d1 Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Thu, 14 Aug 2025 01:12:31 +0300 Subject: Add displayName to contexts (#8814) --- src/components/Button.tsx | 1 + 1 file changed, 1 insertion(+) (limited to 'src/components/Button.tsx') 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({ pressed: false, disabled: false, }) +Context.displayName = 'ButtonContext' export function useButtonContext() { return React.useContext(Context) -- cgit 1.4.1