mirror of
https://github.com/Zagrios/bs-manager.git
synced 2026-07-03 14:08:25 +02:00
[feature] fix sonarlint issues
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user