diff --git a/pages/[...slug].tsx b/pages/[...slug].tsx index 21488535..9805ef5b 100644 --- a/pages/[...slug].tsx +++ b/pages/[...slug].tsx @@ -160,7 +160,7 @@ const Index: NextPage = props => { ) } -export const getStaticProps: GetStaticProps = async ctx => { +export const getStaticProps: GetStaticProps = async ctx => { const slug = paramsToSlug(ctx.params.slug) const url = `https://hudozka.tmshv.com/pages?slug=${slug}` const page = await apiGet(createPage)(url, null)