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
1 changed files with 2 additions and 2 deletions

View File

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