Theme Next - accent switch #21412
Annotations
10 errors and 10 warnings
Lint:
docs/components/LineBlock.tsx#L41
Unknown property 'stroke-dasharray' found, use 'strokeDasharray' instead
|
Lint:
docs/decorators/withDateMock.tsx#L9
Unsafe argument of type `any` assigned to a parameter of type `string | number | Date`
|
Lint:
docs/decorators/withDateMock.tsx#L12
React Hook "useIsomorphicLayoutEffect" is called in function "withDateMock: Decorator" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use"
|
Lint:
docs/decorators/withTheme.tsx#L43
Use a ! assertion to more succinctly remove null and undefined from the type
|
Lint:
docs/decorators/withTheme.tsx#L49
Use a ! assertion to more succinctly remove null and undefined from the type
|
Lint:
docs/decorators/withTheme.tsx#L56
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator
|
Lint:
docs/decorators/withTheme.tsx#L57
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator
|
Lint:
docs/decorators/withTheme.tsx#L101
Unsafe assignment of an `any` value
|
Lint:
docs/decorators/withTheme.tsx#L105
Unsafe assignment of an `any` value
|
Lint:
docs/decorators/withTheme.tsx#L106
Unsafe assignment of an `any` value
|
Lint:
packages/core/src/menu/MenuBase.tsx#L114
React Hook useIsomorphicLayoutEffect has a missing dependency: 'refs'. Either include it or remove the dependency array
|
Lint:
packages/data-grid/src/CellEditor.tsx#L37
React Hook useEffect has a missing dependency: 'grid'. Either include it or remove the dependency array
|
Lint:
packages/data-grid/src/DropdownCellEditor.tsx#L55
React Hook useEffect has an unnecessary dependency: 'triggerRef.current'. Either exclude it or remove the dependency array. Mutable values like 'triggerRef.current' aren't valid dependencies because mutating them doesn't re-render the component
|
Lint:
packages/data-grid/src/Grid.tsx#L437
React Hook useCallback has an unnecessary dependency: 'scrollableRef.current'. Either exclude it or remove the dependency array. Mutable values like 'scrollableRef.current' aren't valid dependencies because mutating them doesn't re-render the component
|
Lint:
packages/data-grid/src/Grid.tsx#L496
React Hook useMemo has an unnecessary dependency: 'sortByColumnId'. Either exclude it or remove the dependency array
|
Lint:
packages/data-grid/src/Grid.tsx#L586
The 'startEditMode' function makes the dependencies of useMemo Hook (at line 736) change on every render. To fix this, wrap the definition of 'startEditMode' in its own useCallback() Hook
|
Lint:
packages/data-grid/src/Grid.tsx#L586
The 'startEditMode' function makes the dependencies of useCallback Hook (at line 870) change on every render. To fix this, wrap the definition of 'startEditMode' in its own useCallback() Hook
|
Lint:
packages/data-grid/src/Grid.tsx#L598
The 'endEditMode' function makes the dependencies of useMemo Hook (at line 736) change on every render. To fix this, wrap the definition of 'endEditMode' in its own useCallback() Hook
|
Lint:
packages/data-grid/src/Grid.tsx#L623
The 'cancelEditMode' function makes the dependencies of useMemo Hook (at line 736) change on every render. To fix this, wrap the definition of 'cancelEditMode' in its own useCallback() Hook
|
Lint:
packages/data-grid/src/Grid.tsx#L623
The 'cancelEditMode' function makes the dependencies of useCallback Hook (at line 870) change on every render. To fix this, wrap the definition of 'cancelEditMode' in its own useCallback() Hook
|
Loading