Update startup.sh, +page.server.ts, FeaturedAdventureCard.svelte, and Navbar.svelte
This commit is contained in:
@@ -4,7 +4,7 @@ import type { Adventure } from '$lib/utils/types';
|
||||
|
||||
|
||||
export const load = (async () => {
|
||||
const result = await db.select().from(featuredAdventures)
|
||||
const result = await db.select().from(featuredAdventures).orderBy(featuredAdventures.id);
|
||||
return {
|
||||
result : result as Adventure[]
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user