Skip to content

Commit

Permalink
Update site/examples/images.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
dylans authored Feb 9, 2024
1 parent f5a0b25 commit a9884e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/examples/images.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ const insertImage = (editor, url) => {
const image: ImageElement = { type: 'image', url, children: [text] }
Transforms.insertNodes(editor, image)
Transforms.insertNodes(editor, {
type: "paragraph",
type: 'paragraph',
children: [{ text: "" }],

Check failure on line 87 in site/examples/images.tsx

View workflow job for this annotation

GitHub Actions / lint:eslint

Replace `""` with `''`
});

Check failure on line 88 in site/examples/images.tsx

View workflow job for this annotation

GitHub Actions / lint:eslint

Delete `;`
}
Expand Down

0 comments on commit a9884e4

Please sign in to comment.