prescottprue/fireadmin

View on GitHub
src/modules/notification/Notifications.js

Summary

Maintainability
A
1 hr
Test Coverage

Function Notifications has 46 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default function Notifications() {
  const classes = useStyles()
  const { allIds, byId, dismissNotification } = useNotifications()
  // Only render if notifications exist
  if (!allIds || !Object.keys(allIds).length) {
Severity: Minor
Found in src/modules/notification/Notifications.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status