Remove commented out code
This commit is contained in:
parent
8a37738ca3
commit
ddef60f012
@ -3,7 +3,6 @@ import type { PageLoad } from './$types';
|
||||
|
||||
export const load = (async ({ fetch }) => {
|
||||
const p = await fetch('/');
|
||||
//const posts: Post[] = await p.json();
|
||||
return {
|
||||
posts: await p.json() as Post[]
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user