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/state/geolocation.tsx | 1 + 1 file changed, 1 insertion(+) (limited to 'src/state/geolocation.tsx') diff --git a/src/state/geolocation.tsx b/src/state/geolocation.tsx index 20b161ffe..4581996a0 100644 --- a/src/state/geolocation.tsx +++ b/src/state/geolocation.tsx @@ -154,6 +154,7 @@ type Context = { const context = React.createContext({ geolocation: DEFAULT_GEOLOCATION, }) +context.displayName = 'GeolocationContext' export function Provider({children}: {children: React.ReactNode}) { const [geolocation, setGeolocation] = React.useState(() => { -- cgit 1.4.1