replaced () with {} to fix implicit return error (#434)

This commit is contained in:
Joey Lee 2017-09-05 23:54:41 +02:00 committed by Cassie Tarakajian
parent cfd6bf75b2
commit 677aa5865b

View file

@ -300,8 +300,8 @@ class IDEView extends React.Component {
<SplitPane <SplitPane
split="vertical" split="vertical"
defaultSize={'50%'} defaultSize={'50%'}
onChange={() => (this.overlay.style.display = 'block')} onChange={() => { this.overlay.style.display = 'block'; }}
onDragFinished={() => (this.overlay.style.display = 'none')} onDragFinished={() => { this.overlay.style.display = 'none'; }}
> >
<SplitPane <SplitPane
split="horizontal" split="horizontal"