mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-24 16:22:44 +00:00
fix splitpane errors
This commit is contained in:
@@ -142,9 +142,11 @@ const SplitPane = createClass({
|
||||
width={this.state.currentDividerPos}
|
||||
>
|
||||
{React.cloneElement(this.props.children[0], {
|
||||
moveBrew : this.state.moveBrew,
|
||||
moveSource : this.state.moveSource,
|
||||
setMoveArrows : this.setMoveArrows
|
||||
...(this.state.showMoveArrows && {
|
||||
moveBrew: this.state.moveBrew,
|
||||
moveSource: this.state.moveSource,
|
||||
setMoveArrows: this.setMoveArrows,
|
||||
}),
|
||||
})}
|
||||
</Pane>
|
||||
{this.renderDivider()}
|
||||
|
||||
Reference in New Issue
Block a user