Skip to content

Commit

Permalink
prettify
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkrives committed Sep 27, 2018
1 parent aa62a13 commit 590b10c
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions modules/gob-area-editor/screens/m-editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,13 +104,15 @@ export let Editor = () => (
}
}}
render={({state: {content}, setState}) => {
return <>
<AreaTextEditor
value={content}
onChange={value => setState({content: value})}
/>
<AreaCompiledViewer value={content} />
</>
return (
<>
<AreaTextEditor
value={content}
onChange={value => setState({content: value})}
/>
<AreaCompiledViewer value={content} />
</>
)
}}
/>
</Layout>
Expand Down

0 comments on commit 590b10c

Please sign in to comment.