Add name and date columns to sharedAdventures table and display them in shared adventure page
This commit is contained in:
@@ -29,9 +29,14 @@ export async function load({ params }) {
|
||||
} as Adventure;
|
||||
});
|
||||
|
||||
let name = rawData.name;
|
||||
let date = rawData.date;
|
||||
|
||||
|
||||
// Return the array of Adventure objects
|
||||
return {
|
||||
adventureArray,
|
||||
name,
|
||||
date,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user