Add displayName to contexts (#8814)
This commit is contained in:
@@ -27,6 +27,7 @@ type ControlsContext = {
|
||||
}
|
||||
|
||||
const ControlsContext = createContext<ControlsContext | null>(null)
|
||||
ControlsContext.displayName = 'GlobalDialogControlsContext'
|
||||
|
||||
export function useGlobalDialogsControlContext() {
|
||||
const ctx = useContext(ControlsContext)
|
||||
|
||||
Reference in New Issue
Block a user