Actually set user on input change
This commit is contained in:
parent
bc67bb315b
commit
2debce80d5
@ -143,7 +143,11 @@ export default function (props: { isOpen: boolean; onClose: () => void }) {
|
||||
</Table>
|
||||
</TableContainer>
|
||||
<HStack mt="8px">
|
||||
<Input maxLength={19} placeholder="1234567890987654321" />
|
||||
<Input
|
||||
maxLength={19}
|
||||
onChange={(e) => setUserToAdd(e.target.value)}
|
||||
placeholder="1234567890987654321"
|
||||
/>
|
||||
<Button ml="8px" onClick={async () => await addUser(userToAdd)}>
|
||||
Add
|
||||
</Button>
|
||||
|
Loading…
x
Reference in New Issue
Block a user