page switching with custom event

This commit is contained in:
SpikeHD
2022-07-21 23:12:24 -07:00
parent 011b15c8d9
commit 7ad1c4649c
6 changed files with 102 additions and 36 deletions

View File

@@ -44,7 +44,7 @@ class Debug extends React.Component {
render() {
return (
<div className="App">
<TopBar optFunc={none} downFunc={none} gameFunc={none} modFunc={none} />
<TopBar />
<TextInput readOnly={false} initalValue={'change to set proxy address'} onChange={setProxyAddress} />
<button onClick={startProxy}>start proxy</button>
<button onClick={stopProxy}>stop proxy</button>