Removed some forgotten debug printing

This commit is contained in:
Imbus 2023-11-05 20:26:55 +01:00
parent 3366dc57bc
commit b2095e98fb

View file

@ -24,9 +24,7 @@ export async function getPosts(): Promise<Post[]> {
export async function getPost(id: string): Promise<Post> {
const res = await fetch(`/api/posts/${id}`);
console.log(res)
const data = await res.json();
console.log(data)
return data;
}