diff --git a/docs/pages/api-reference/liveblocks-react-ui.mdx b/docs/pages/api-reference/liveblocks-react-ui.mdx index a40a6267c6f..8d142368ed7 100644 --- a/docs/pages/api-reference/liveblocks-react-ui.mdx +++ b/docs/pages/api-reference/liveblocks-react-ui.mdx @@ -1468,7 +1468,7 @@ function MyComposer() { { body, attachments }: ComposerSubmitComment, event: FormEvent ) { - event.preventdefault(); + event.preventDefault(); // Create a new thread // +++ @@ -2466,7 +2466,7 @@ function MyComposerAttachments() { type="function" detailedType="(mark: ComposerBodyMark) => void" > - Remove an attachment by its ID. + Toggle a specific text mark. ) { - event.preventdefault(); + event.preventDefault(); const thread = createThread({ body, diff --git a/docs/pages/ready-made-features/comments/primitives.mdx b/docs/pages/ready-made-features/comments/primitives.mdx index a0f1f4b1ae7..54f1dfb366f 100644 --- a/docs/pages/ready-made-features/comments/primitives.mdx +++ b/docs/pages/ready-made-features/comments/primitives.mdx @@ -184,7 +184,7 @@ function MyComposer() { return ( { - event.preventdefault(); + event.preventDefault(); const thread = createThread({ body, metadata: {},