rm console.log
This commit is contained in:
1 parent
4923d80545
commit
9fd3e13824
1 file changed
-2
@@ -160,8 +160,6 @@ export const getStaticProps: GetStaticProps<Props> = async ctx => {
|
|||||||
const url = `https://hudozka.tmshv.com/pages?slug=${slug}`
|
const url = `https://hudozka.tmshv.com/pages?slug=${slug}`
|
||||||
const page = await apiGet(createPage)(url, null)
|
const page = await apiGet(createPage)(url, null)
|
||||||
if (!page) {
|
if (!page) {
|
||||||
console.log('kek something happend');
|
|
||||||
|
|
||||||
return {
|
return {
|
||||||
notFound: true,
|
notFound: true,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user