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