packages/antd/src/providers/notificationProvider/index.tsx
Function useNotificationProvider
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const useNotificationProvider = (): NotificationProvider => {
const { notification: notificationFromContext } = App.useApp();
const notification =
"open" in notificationFromContext
? notificationFromContext