Type conversion to string for UUID

This commit is contained in:
Sean Morley
2024-08-13 12:03:18 -04:00
parent ffe9d6fe97
commit 70a2fc45fd
6 changed files with 11 additions and 11 deletions

View File

@@ -98,7 +98,7 @@
let adventureToEdit: Adventure;
let isEditModalOpen: boolean = false;
function deleteAdventure(event: CustomEvent<number>) {
function deleteAdventure(event: CustomEvent<string>) {
adventures = adventures.filter((adventure) => adventure.id !== event.detail);
}