Coursemology/coursemology2

View on GitHub
client/app/lib/containers/AppContainer/GlobalAnnouncements.tsx

Summary

Maintainability
A
2 hrs
Test Coverage

Function GlobalAnnouncements has 52 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const GlobalAnnouncements = (
  props: GlobalAnnouncementsProps,
): JSX.Element | null => {
  const [announcements, setAnnouncements] = useState(props.in);

Severity: Major
Found in client/app/lib/containers/AppContainer/GlobalAnnouncements.tsx - About 2 hrs to fix

There are no issues that match your filters.

Category
Status