[feature] fix sonarlint issues

This commit is contained in:
MathieuG-P
2024-09-01 22:55:21 +02:00
parent f84758c42d
commit 846945b75a
3 changed files with 4 additions and 4 deletions
@@ -17,7 +17,7 @@ type Props = {
onChange?: (isChecked: boolean) => void;
}
export function ToogleSwitch({ checked, className, classNames, bgColor, onChange }: Props) {
export function ToogleSwitch({ checked, className, classNames, bgColor, onChange }: Readonly<Props>) {
const uuid = useConstant(() => crypto.randomUUID());
const { firstColor } = useThemeColor();