AndrewWalsh/at-your-service

View on GitHub
src/ui/Drawer.tsx

Summary

Maintainability
A
1 hr
Test Coverage

Function createTree has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  const createTree = useCallback(() => {
    function recurseTree(ssorsr: StoreStructure | StoreRoute, path = "") {
      return Object.entries(ssorsr).map(([key, structOrRoute]) => {
        if (isStoreRoute(structOrRoute)) {
          // TODO: get rid of this 's200' etc business
Severity: Minor
Found in src/ui/Drawer.tsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status