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 }) => {
|
export const load = (async ({ fetch }) => {
|
||||||
const p = await fetch('/');
|
const p = await fetch('/');
|
||||||
//const posts: Post[] = await p.json();
|
|
||||||
return {
|
return {
|
||||||
posts: await p.json() as Post[]
|
posts: await p.json() as Post[]
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user