src/components/Sync/CalendarColorPicker.tsx

Summary

Maintainability
A
3 hrs
Test Coverage

Function Inner has 47 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function Inner(props: CalendarColorsProps): JSX.Element {
  const analytics = useAnalytics()
  const [visible, setVisible] = useState(false)
  const [refElm, setRefElm] = useState(null)
  const [colors, setColors] = useStorage<ColorStorage>(
Severity: Minor
Found in src/components/Sync/CalendarColorPicker.tsx - About 1 hr to fix

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

    const ColorPicker = (props: ColorPickerProps): JSX.Element => {
      const colors = props.colors
    
      const click = (e) => {
        const id = e.target.value
    Severity: Minor
    Found in src/components/Sync/CalendarColorPicker.tsx - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status