src/components/ColorPicker.tsx

Summary

Maintainability
A
1 hr
Test Coverage

Function ColorPicker has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const ColorPicker = (props: Props): JSX.Element => {
  const [visible, setVisible] = useState(false)
  let presets = unique(props.presetColors) || []
  if (presets.length < PresetMax) {
    presets = unique(presets.concat(PresetColors))
Severity: Minor
Found in src/components/ColorPicker.tsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status