From b2c56cbd6dfa9af576f947dd41a0d33376b184d1 Mon Sep 17 00:00:00 2001
From: Samuel Newman <mozzius@protonmail.com>
Date: Thu, 14 Aug 2025 01:12:31 +0300
Subject: Add displayName to contexts (#8814)

---
 src/components/Portal.tsx | 1 +
 1 file changed, 1 insertion(+)

(limited to 'src/components/Portal.tsx')

diff --git a/src/components/Portal.tsx b/src/components/Portal.tsx
index 4e03d6b08..b4bebce4d 100644
--- a/src/components/Portal.tsx
+++ b/src/components/Portal.tsx
@@ -28,6 +28,7 @@ export function createPortalGroup() {
     append: () => {},
     remove: () => {},
   })
+  Context.displayName = 'PortalContext'
 
   function Provider(props: React.PropsWithChildren<{}>) {
     const map = useRef<ComponentMap>({})
-- 
cgit 1.4.1

