pankod/refine

View on GitHub
packages/antd/src/providers/notificationProvider/index.tsx

Summary

Maintainability
A
1 hr
Test Coverage

Function useNotificationProvider has 44 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const useNotificationProvider = (): NotificationProvider => {
  const { notification: notificationFromContext } = App.useApp();
  const notification =
    "open" in notificationFromContext
      ? notificationFromContext
Severity: Minor
Found in packages/antd/src/providers/notificationProvider/index.tsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status