1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-01-18 05:59:13 +01:00

Update 04-applying-custom-formatting.md (#3371)

This commit is contained in:
Leon 2020-01-04 08:02:40 +01:00 committed by Sunny Hirai
parent 653690e285
commit 8cd9b79352

View File

@ -62,7 +62,7 @@ const App = () => {
])
const renderElement = useCallback(props => {
switch (prop.element.type) {
switch (props.element.type) {
case 'code':
return <CodeElement {...props} />
default: