Add displayName to contexts (#8814)
This commit is contained in:
@@ -28,6 +28,7 @@ const Context = createContext<{
|
||||
*/
|
||||
setIsReadyToShowOverlay: () => {},
|
||||
})
|
||||
Context.displayName = 'PolicyUpdateOverlayContext'
|
||||
|
||||
export function usePolicyUpdateContext() {
|
||||
const context = useContext(Context)
|
||||
|
||||
Reference in New Issue
Block a user