Skip to content

Commit 03729c1

Browse files
committed
prettier fix
1 parent df5e78d commit 03729c1

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

docs/walkthroughs/04-applying-custom-formatting.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,9 @@ const App = () => {
9090
Transforms.setNodes(
9191
editor,
9292
{ type: match ? 'paragraph' : 'code' },
93-
{ match: n => Element.isElement(n) && Editor.isBlock(editor, n) }
93+
{
94+
match: n => Element.isElement(n) && Editor.isBlock(editor, n),
95+
}
9496
)
9597
break
9698
}
@@ -178,7 +180,9 @@ const App = () => {
178180
Transforms.setNodes(
179181
editor,
180182
{ type: match ? null : 'code' },
181-
{ match: n => Element.isElement(n) && Editor.isBlock(editor, n) }
183+
{
184+
match: n => Element.isElement(n) && Editor.isBlock(editor, n),
185+
}
182186
)
183187
break
184188
}

0 commit comments

Comments
 (0)