Skip to content

Commit

Permalink
Mark unused variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
mkrause committed Feb 13, 2025
1 parent 173e8ab commit 62a4dab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/forms/controls/Checkbox/CheckboxTri.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const CheckboxTri = (props: CheckboxTriProps) => {

// Keep track of the `indeterminate` state of the checkbox. Needed so that we can rerender the component when
// `indeterminate` changes. There is no event that triggers when `indeterminate` is changed.
const [internalIndeterminate, setInternalIndeterminate] = React.useState<undefined | boolean>(undefined);
const [_internalIndeterminate, setInternalIndeterminate] = React.useState<undefined | boolean>(undefined);

const handleChange = React.useCallback((event: React.ChangeEvent<HTMLInputElement>) => {
props.onChange?.(event);
Expand Down

0 comments on commit 62a4dab

Please sign in to comment.