on master help sign in
remove console.log
cd16db0Gavin Atkinson
pages/blog/[slug].js−2
@@ -121,8 +121,6 @@ export async function getStaticProps({ params }) {
121export async function getStaticPaths() {
121export async function getStaticPaths() {
122 const posts = getAllPosts(["slug", "date"], "blog");
122 const posts = getAllPosts(["slug", "date"], "blog");
123
123
124− console.log(posts);
125−
126 return {
124 return {
127 paths: posts.map((post) => {
125 paths: posts.map((post) => {
128 return {
126 return {