Skip to content

Commit

Permalink
Make tab name input always controlled (graphql#851)
Browse files Browse the repository at this point in the history
  • Loading branch information
rynobax authored and huv1k committed Oct 15, 2018
1 parent 1046e3c commit d307558
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class Tab extends React.PureComponent<Props & ReduxProps, State> {
</Icons>
{this.state.editingName ? (
<OperationNameInput
value={session.name}
value={session.name || ''}
onChange={this.handleEditName}
onBlur={this.stopEditName}
onKeyDown={this.handleKeyDown}
Expand Down

0 comments on commit d307558

Please sign in to comment.