flsy/react-mapycz

View on GitHub
home/DynamicRoute.tsx

Summary

Maintainability
A
2 hrs
Test Coverage

Function DynamicRoute has 62 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const DynamicRoute = () => {
  const [criterion, setCriterion] = useState<string>('fast');

  const code = `
    <Map height="200px" center={{lat: 49.536, lng: 18.499}} zoom={12}>
Severity: Major
Found in home/DynamicRoute.tsx - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status