Coursemology/coursemology2

View on GitHub
client/app/lib/components/core/NotificationBar.jsx

Summary

Maintainability
A
1 hr
Test Coverage

Function NotificationBar has 36 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const NotificationBar = (props) => {
  const { notification, autoHideDuration = 5000, ...options } = props;
  const message = notification && notification.message;
  const errors = notification && notification.errors;
  const [open, setOpen] = useState(false);
Severity: Minor
Found in client/app/lib/components/core/NotificationBar.jsx - About 1 hr to fix

There are no issues that match your filters.

Category
Status