mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 12:09:51 +02:00
feat: trash button functionality
This commit is contained in:
1 parent
f516c9275e
commit
4214ff0de5
1 file changed
+9
-1
@@ -309,7 +309,15 @@ export default function Page() {
|
|||||||
</SegmentedControl.Item>
|
</SegmentedControl.Item>
|
||||||
</SegmentedControl.Root>
|
</SegmentedControl.Root>
|
||||||
|
|
||||||
<IconButton variant="soft" color="red">
|
<IconButton
|
||||||
|
variant="soft"
|
||||||
|
color="red"
|
||||||
|
onClick={() => {
|
||||||
|
mutateCompareTemporary((draft) => {
|
||||||
|
draft.members = [];
|
||||||
|
});
|
||||||
|
}}
|
||||||
|
>
|
||||||
<TrashIcon />
|
<TrashIcon />
|
||||||
</IconButton>
|
</IconButton>
|
||||||
</Flex>
|
</Flex>
|
||||||
|
|||||||
Reference in new issue
Block a user