Clean up and smaller bundle.js

This commit is contained in:
Jori Lallo
2016-06-05 14:38:14 -07:00
parent 2a84d1fc67
commit 6303bc9279
7 changed files with 5 additions and 26 deletions

View File

@@ -1,5 +1,6 @@
import React from 'react';
import { observer } from 'mobx-react';
import { convertToMarkdown } from 'utils/markdown';
import MarkdownEditor from 'components/MarkdownEditor';
import Preview from './Preview';
@@ -27,7 +28,7 @@ const Editor = observer((props) => {
<EditorPane
scrollTop={ props.scrollTop }
>
<Preview html={ store.htmlPreview } />
<Preview html={ store.text } />
</EditorPane>
) : null }
</div>