Skip to content

Commit

Permalink
Clear scenario title after user hits "Create" button in lobby
Browse files Browse the repository at this point in the history
  • Loading branch information
eric79 committed Apr 30, 2018
1 parent 080ebbf commit ea5f312
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions support/lobby/lib/Scenarios.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ class Application extends React.Component {
this.props.onServerChange && this.props.onServerChange() } ).
catch( error => {
console.log( error.message ) } );
this.setState( { title: "" } );
event.preventDefault();
}

Expand Down

0 comments on commit ea5f312

Please sign in to comment.