Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Actually set user on input change
  • Loading branch information
regalijan committed Nov 8, 2023
1 parent bc67bb3 commit 2debce8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion components/GameModManagementModal.tsx
Expand Up @@ -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>
Expand Down

0 comments on commit 2debce8

Please sign in to comment.