Improve formatting

This commit is contained in:
2023-04-11 16:02:54 +02:00
parent 268128c2f4
commit 6c9546b74a
22 changed files with 280 additions and 279 deletions

View File

@ -2,8 +2,8 @@ import type { Post } from '$lib/mastodon/response';
import type { PageLoad } from './$types';
export const load = (async ({ fetch }) => {
const p = await fetch('/');
return {
posts: await p.json() as Post[]
};
}) satisfies PageLoad;
const p = await fetch('/');
return {
posts: (await p.json()) as Post[]
};
}) satisfies PageLoad;