Add displayName to contexts (#8814)
This commit is contained in:
@@ -28,6 +28,7 @@ export function createPortalGroup() {
|
||||
append: () => {},
|
||||
remove: () => {},
|
||||
})
|
||||
Context.displayName = 'PortalContext'
|
||||
|
||||
function Provider(props: React.PropsWithChildren<{}>) {
|
||||
const map = useRef<ComponentMap>({})
|
||||
|
||||
Reference in New Issue
Block a user