Fixes code blocks (#554)

* Fixes code blocks

* Flow ignore uncompiled files

* 💚

* big > bug
This commit is contained in:
Tom Moor
2018-02-04 12:30:22 -08:00
committed by GitHub
parent ba602861af
commit f076582ce4
9 changed files with 40 additions and 31 deletions

View File

@@ -1,6 +1,6 @@
// @flow
import React from 'react';
import Code from './components/InlineCode';
import InlineCode 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 <Code>{props.children}</Code>;
return <InlineCode>{props.children}</InlineCode>;
case 'italic':
return <em>{props.children}</em>;
case 'underlined':