Disable join button when no input is given
This commit is contained in:
parent
980462b109
commit
b7ce6892f0
@ -34,7 +34,7 @@ function Join() {
|
||||
value={gameId || ""}
|
||||
onChange={handleChange}
|
||||
/>
|
||||
<Button>Join › (ノ◕ヮ◕)ノ*:・゚✧</Button>
|
||||
<Button disabled={!gameId}>Join › (ノ◕ヮ◕)ノ*:・゚✧</Button>
|
||||
</Box>
|
||||
</Flex>
|
||||
</Container>
|
||||
|
Loading…
Reference in New Issue
Block a user