Skip to content

Commit

Permalink
chore: fix sonar issue
Browse files Browse the repository at this point in the history
  • Loading branch information
danielleroux committed Nov 29, 2024
1 parent 90e7b5e commit bf9aa91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/components/toggle/toggle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export class Toggle implements IxFormComponent<string> {
/** @internal */
@Event() valueChange!: EventEmitter<string>;

private localId = `ix-toggle-${localId++}`;
private readonly localId = `ix-toggle-${localId++}`;

onCheckedChange(newChecked: boolean) {
if (this.indeterminate) {
Expand Down

0 comments on commit bf9aa91

Please sign in to comment.