We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cebe8ce commit 21a3af8Copy full SHA for 21a3af8
1 file changed
app/page.jsx
@@ -44,7 +44,7 @@ export default function Home() {
44
45
<Modal opened={opened} onClose={close} title="Creat New Config" mb={12} >
46
<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>
+ <Checkbox onClick={(event) => setTokill(event.currentTarget.checked)} checked={tokill} > Do You want to kill the windows?</Checkbox>
48
<Button loading={loading} variant="light" mt={4} onClick={dump}>Submit</Button></Card>
49
</Modal>
50
0 commit comments