Skip to content

Commit 586e718

Browse files
committed
style(widget-richtext): lint code
1 parent 940cd44 commit 586e718

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

packages/decap-cms-widget-richtext/src/RichtextControl/VisualEditor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ export default function VisualEditor(props) {
119119
h3: { keys: 'mod+3', handler: () => editor.tf.toggleBlock('h3') },
120120
h4: { keys: 'mod+4', handler: () => editor.tf.toggleBlock('h4') },
121121
h5: { keys: 'mod+5', handler: () => editor.tf.toggleBlock('h5') },
122-
h6: { keys: 'mod+6', handler: () => editor.tf.toggleBlock('h6')},
122+
h6: { keys: 'mod+6', handler: () => editor.tf.toggleBlock('h6') },
123123
},
124124
}),
125125
BoldPlugin,

packages/decap-cms-widget-richtext/src/RichtextControl/components/Leaf/CodeLeaf.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ const StyledCode = styled.code`
1111

1212
function CodeLeaf({ children, ...props }) {
1313
return (
14-
<StyledCode asChild {...props}>{children}</StyledCode>
14+
<StyledCode asChild {...props}>
15+
{children}
16+
</StyledCode>
1517
);
1618
}
1719

0 commit comments

Comments
 (0)