src/components/Sync/CalendarColorPicker.tsx
Function Inner
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
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>(
Function ColorPicker
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const ColorPicker = (props: ColorPickerProps): JSX.Element => {
const colors = props.colors
const click = (e) => {
const id = e.target.value