Skip to content

Commit

Permalink
fix: rename variable - already declared above
Browse files Browse the repository at this point in the history
  • Loading branch information
allanhvam committed Aug 26, 2024
1 parent 0d21446 commit 12985f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/app/workspaces/tree-method-checkbox-group.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ export const TreeMethodCheckboxGroup = (props: Props) => {
}, []);

const onChangeCallback = useCallback(
(value: StringOrNumber[]) => {
onChange(value.map((v) => String(v)));
(checkboxValue: StringOrNumber[]) => {
onChange(checkboxValue.map((v) => String(v)));
},
[onChange]
);
Expand Down

0 comments on commit 12985f2

Please sign in to comment.