mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 02:37:05 +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.Root>
|
||||
|
||||
<IconButton variant="soft" color="red">
|
||||
<IconButton
|
||||
variant="soft"
|
||||
color="red"
|
||||
onClick={() => {
|
||||
mutateCompareTemporary((draft) => {
|
||||
draft.members = [];
|
||||
});
|
||||
}}
|
||||
>
|
||||
<TrashIcon />
|
||||
</IconButton>
|
||||
</Flex>
|
||||
|
||||
Reference in new issue
Block a user