Skip to content

Commit

Permalink
Cosmetics
Browse files Browse the repository at this point in the history
  • Loading branch information
Nes-si committed Oct 8, 2022
1 parent c6aa461 commit f2a1eb9
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
26 changes: 13 additions & 13 deletions src/components/mainArea/models/ModelsList/ModelsList.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,20 +164,20 @@ export default class ModelsList extends Component {
</FlipMove>
</div>
{isEditable &&
<div styleName="input-wrapper" key="input!">
<div styleName="input-wrapper-align">
<InputControl value={this.state.modelName}
label="Add a New Content Type"
placeholder=""
onChange={this.onModelNameChange}
onKeyDown={this.onKeyDown}
DOMRef={c => this.activeInput = c}
icon="plus"
autoFocus
onIconClick={this.onAddModel} />
</div>
<div styleName="input-wrapper" key="input!">
<div styleName="input-wrapper-align">
<InputControl value={this.state.modelName}
label="Add a New Content Type"
placeholder=""
onChange={this.onModelNameChange}
onKeyDown={this.onKeyDown}
DOMRef={c => this.activeInput = c}
icon="plus"
autoFocus
onIconClick={this.onAddModel} />
</div>
}
</div>
}
</div>
</ContainerComponent>
);
Expand Down
2 changes: 1 addition & 1 deletion src/containers/MainArea/Models/ModelsListContainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ function ModelsListContainer(props) {
deleteModel={deleteModel}
showAlert={showAlert}
alertShowing={nav.alertShowing}
isEditable={true}/>
isEditable={true} />
);
}

Expand Down

0 comments on commit f2a1eb9

Please sign in to comment.