Skip to content

Commit 21a3af8

Browse files
committed
fix
1 parent cebe8ce commit 21a3af8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/page.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export default function Home() {
4444

4545
<Modal opened={opened} onClose={close} title="Creat New Config" mb={12} >
4646
<Card shadow="sm" padding="lg" radius="md" withBorder bg={'#080819'} ><TextInput onChange={(e) => setConfig(e.target.value)} label={<Text fw={600} fz={22} pb={12}>Enter Config Name</Text>} placeholder="Type New Config Name" mb={10} mt={10} p={4} />
47-
<Checkbox onClick={setTokill(!tokill)} checked={tokill} > Do You want to kill the windows?</Checkbox>
47+
<Checkbox onClick={(event) => setTokill(event.currentTarget.checked)} checked={tokill} > Do You want to kill the windows?</Checkbox>
4848
<Button loading={loading} variant="light" mt={4} onClick={dump}>Submit</Button></Card>
4949
</Modal>
5050

0 commit comments

Comments
 (0)