diff --git a/snippets/MultiselectCheckbox.md b/snippets/MultiselectCheckbox.md index bdb6ef5e8..5fe3cb13c 100644 --- a/snippets/MultiselectCheckbox.md +++ b/snippets/MultiselectCheckbox.md @@ -20,7 +20,7 @@ const style = { } }; -export default function MultiCheckbox ({ options, onChange }) { +export default function MultiselectCheckbox ({ options, onChange }) { const [data, setData] = React.useState(options); function toggle (item) { @@ -56,7 +56,7 @@ export default function MultiCheckbox ({ options, onChange }) { const options = [{ label: "Item One" }, { label: "Item Two" }]; ReactDOM.render( - { console.log(data);