update sapper, tidy up

This commit is contained in:
Rich Harris
2017-12-17 15:07:21 -05:00
parent 600360665d
commit 28b3db6534
4 changed files with 3 additions and 6 deletions

View File

@@ -60,7 +60,6 @@
const { slug } = params;
return fetch(`/api/blog/${slug}`).then(r => r.json()).then(post => {
console.log({ post });
return { post };
});
}