mirror of
https://github.com/averel10/crypto_clash.git
synced 2026-03-12 19:08:11 +01:00
use custom button component to rid all the css
This commit is contained in:
@@ -16,6 +16,11 @@ export default function Clash() {
|
||||
// Inputs for contract functions
|
||||
const [phase, setPhase] = useState<"lobby" | "commit" | "reveal">("lobby");
|
||||
|
||||
// Clear status when phase changes
|
||||
useEffect(() => {
|
||||
setStatus("");
|
||||
}, [phase]);
|
||||
|
||||
// Load config and contract
|
||||
useEffect(() => {
|
||||
const loadConfig = async () => {
|
||||
|
||||
Reference in New Issue
Block a user