Add displayName to contexts (#8814)
This commit is contained in:
@@ -24,6 +24,7 @@ export const ICONS = {
|
||||
const Context = createContext<ContextType>({
|
||||
type: 'default',
|
||||
})
|
||||
Context.displayName = 'ToastContext'
|
||||
|
||||
export function Toast({
|
||||
type,
|
||||
|
||||
Reference in New Issue
Block a user