diff --git a/src/servers/CreateServer.js b/src/servers/CreateServer.js index 7782d34f..1d290fcd 100644 --- a/src/servers/CreateServer.js +++ b/src/servers/CreateServer.js @@ -16,39 +16,28 @@ export class CreateServer extends React.Component { e.preventDefault(); this.props.createServer(this.state); }; - const renderInput = (id, placeholder, type = 'text') => - this.setState({ [id]: e.target.value })} - />; + const renderInputGroup = (id, placeholder, type = 'text') => +