Fix ComponentKit code generation
Summary: Fixes ComponentKit code generation to outpput valid code. Reviewed By: emilsjolander Differential Revision: D6902924 fbshipit-source-id: f03a69268d22084f30aea46297b59aec28ba68d2
This commit is contained in:
committed by
Facebook Github Bot
parent
7199902316
commit
bd46344a4e
@@ -239,6 +239,9 @@ export default class App extends Component<Props, State> {
|
||||
<Sidebar visible={Boolean(selectedNodePath) && !this.state.showCode}>
|
||||
<Editor
|
||||
node={selectedNode}
|
||||
selectedNodeIsRoot={
|
||||
selectedNodePath ? selectedNodePath.length === 0 : false
|
||||
}
|
||||
onChangeLayout={this.onChangeLayout}
|
||||
onChangeSetting={(key, value) => this.setState({[key]: value})}
|
||||
direction={this.state.direction}
|
||||
|
Reference in New Issue
Block a user