Skip to content

Commit fc45c06

Browse files
committed
small fixes
1 parent 565dd2c commit fc45c06

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/core/primitives/CheckboxGroup/fragments/CheckboxGroupPrimitiveRoot.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ const CheckboxGroupPrimitiveRoot = ({ dir, orientation, loop, defaultValue = [],
2323
defaultValue,
2424
onValueChange
2525
);
26-
console.log(checkedValues);
2726

2827
return (
2928
<div className={className} {...props}>

src/core/primitives/CheckboxGroup/stories/CheckboxGroupsPrimitive.stories.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ export const FormWithCheckboxGroupPrimitive: Story = {
5252
e.preventDefault();
5353
const formData = new FormData(e.currentTarget);
5454
const entries: Record<string, FormDataEntryValue | FormDataEntryValue[]> = {};
55+
//@ts-ignore
5556
for (const [key, value] of formData.entries()) {
5657
if (entries[key]) {
5758
if (Array.isArray(entries[key])) {
@@ -63,7 +64,7 @@ export const FormWithCheckboxGroupPrimitive: Story = {
6364
entries[key] = value;
6465
}
6566
}
66-
alert(JSON.stringify(entries, null, 2));
67+
console.log(JSON.stringify(entries, null, 2));
6768
};
6869
return (
6970
<SandboxEditor>

0 commit comments

Comments
 (0)