Fixes: Allow BlockInsert on final block (previously didnt work in Prod)

This commit is contained in:
Tom Moor
2017-12-05 23:25:09 -08:00
parent e64ca3ca43
commit 5c38ff9e63
7 changed files with 30 additions and 17 deletions

View File

@ -1,6 +1,6 @@
// @flow
import React from 'react';
import InlineCode from './components/InlineCode';
import Code from './components/InlineCode';
import { Mark } from 'slate';
type Props = {
@ -13,7 +13,7 @@ export default function renderMark(props: Props) {
case 'bold':
return <strong>{props.children}</strong>;
case 'code':
return <InlineCode>{props.children}</InlineCode>;
return <Code>{props.children}</Code>;
case 'italic':
return <em>{props.children}</em>;
case 'underlined':