feat: Add type change functionality to AdventureCard component

This commit is contained in:
Sean Morley
2024-07-22 10:45:25 -04:00
parent e093be31af
commit fe05e5c6cf
4 changed files with 74 additions and 12 deletions

View File

@@ -25,7 +25,8 @@ export const load = (async (event) => {
.map((adventure) => {
return {
lngLat: [adventure.longitude, adventure.latitude] as [number, number],
name: adventure.name
name: adventure.name,
type: adventure.type
};
});
return {