vorteil/direktiv

View on GitHub
ui/src/pages/namespace/Layout.tsx

Summary

Maintainability
A
2 hrs
Test Coverage

Function Layout has 61 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const Layout = () => {
  const { data: version } = useVersion();
  const namespace = useNamespace();
  const { setNamespace } = useNamespaceActions();
  const { namespace: namespaceFromUrl } = useParams();
Severity: Major
Found in ui/src/pages/namespace/Layout.tsx - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status