enable grasscutter checkbox

This commit is contained in:
SpikeHD
2022-05-08 22:02:18 -07:00
parent aa8979d165
commit ba304fa3ea
3 changed files with 35 additions and 10 deletions

View File

@@ -9,6 +9,7 @@ import { getConfig } from '../utils/configuration'
// Major Components
import Topbar from './components/TopBar'
import BigButton from './components/common/BigButton'
import Checkbox from './components/common/Checkbox'
async function playGame() {
const config = await getConfig()
@@ -23,7 +24,10 @@ function App() {
return (
<div className="App">
<Topbar />
<div id="playButtons">
<div id="playButton">
<div id="serverControls">
<Checkbox label="Connect via Grasscutter" />
</div>
<BigButton text="PLAY DA GAME :D" onClick={playGame} id="officialPlay" />
</div>
</div>