myems-web/src/components/dashboard/LeafletMap.js

Summary

Maintainability
A
1 hr
Test Coverage

Function LeafletMap has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const LeafletMap = () => {
  const { isDark } = useContext(AppContext);
  const filter = isDark
    ? ['invert:98%', 'grayscale:69%', 'bright:89%', 'contrast:111%', 'hue:205deg', 'saturate:1000%']
    : ['bright:101%', 'contrast:101%', 'hue:23deg', 'saturate:225%'];
Severity: Minor
Found in myems-web/src/components/dashboard/LeafletMap.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status