Type conversion to string for UUID
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
|
||||
export let data: PageData;
|
||||
|
||||
function deleteAdventure(event: CustomEvent<number>) {
|
||||
function deleteAdventure(event: CustomEvent<string>) {
|
||||
myAdventures = myAdventures.filter((adventure) => adventure.id !== event.detail);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user