feat: use X icon for vehicle deletion
This commit is contained in:
@ -6,6 +6,7 @@
|
||||
PlusCircleIcon,
|
||||
TractorIcon,
|
||||
TruckIcon,
|
||||
XIcon,
|
||||
} from "@lucide/svelte";
|
||||
import Button, { buttonVariants } from "../ui/button/button.svelte";
|
||||
import {
|
||||
@ -74,7 +75,7 @@
|
||||
if(!confirm("Are you sure you want to delete this vehicle? This action cannot be undone.")) return;
|
||||
updateStore({ type: "vehicle", name: vehicle.name }, null);
|
||||
}}>
|
||||
X
|
||||
<XIcon />
|
||||
</Button>
|
||||
</div>
|
||||
{/each}
|
||||
|
||||
Reference in New Issue
Block a user