ant-design/ant-design

View on GitHub
.dumi/theme/layouts/ResourceLayout/index.tsx

Summary

Maintainability
A
2 hrs
Test Coverage

Function useStyle has 64 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const useStyle = () => {
  const isRootDark = useDark();

  return createStyles((config) => {
    const { token, css } = config;
Severity: Major
Found in .dumi/theme/layouts/ResourceLayout/index.tsx - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status