feat: trash button functionality

This commit is contained in:
TrèsAbhi committed 2024-04-06 12:51:52 -05:00
1 parent f516c9275e
commit 4214ff0de5
1 file changed
+9 -1
+9 -1
View File
@@ -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>