Last active
August 20, 2020 21:07
-
-
Save isaidspaghetti/ddaf6d173617e77308659d3df6ab5827 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//frontend/src/Admin.js:81 | |
return ( | |
<div className="App container"> | |
<form className="card" onSubmit={register}> | |
<label>Admin Id</label> | |
<input | |
type="text" | |
value={adminId} | |
onChange={(e) => setAdminId(e.target.value)} | |
placeholder="Enter your admin ID" | |
required | |
/> | |
<button type="submit"> | |
Start chat | |
</button> | |
</form> | |
</div> | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment