Fix linting

This commit is contained in:
yangdx
2025-04-07 05:23:28 +08:00
parent 7d63cfb87a
commit f33ff7f2c2
2 changed files with 3 additions and 3 deletions

View File

@@ -25,7 +25,7 @@ const LabeledCheckBox = ({
}) => {
// Create unique ID using the label text converted to lowercase with spaces removed
const id = `checkbox-${label.toLowerCase().replace(/\s+/g, '-')}`;
return (
<div className="flex items-center gap-2">
<Checkbox id={id} checked={checked} onCheckedChange={onCheckedChange} />