const rootElement = document.getElementById("root"); class App extends React.Component { state = { choice: "", onlineGameRequestString: "", domain: "https://onlinechessmc.herokuapp.com", playerId: makeid(20), }; render() { return ( this.state.choice.length == 0 || this.state.choice == "Online" ? (