streetmix/streetmix

View on GitHub
client/src/dialogs/AnalyticsDialog.tsx

Summary

Maintainability
B
5 hrs
Test Coverage

Function AnalyticsDialog has 140 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function AnalyticsDialog (): React.ReactElement {
  const street = useSelector((state) => state.street)
  const locale = useSelector((state) => state.locale.locale)
  const dispatch = useDispatch()
  const intl = useIntl()
Severity: Major
Found in client/src/dialogs/AnalyticsDialog.tsx - About 5 hrs to fix

There are no issues that match your filters.

Category
Status