diff --git a/components/layouts/ArticleLayout.tsx b/components/layouts/ArticleLayout.tsx index 9d36d2e..fb47e7a 100644 --- a/components/layouts/ArticleLayout.tsx +++ b/components/layouts/ArticleLayout.tsx @@ -1,4 +1,5 @@ import React, {ReactNode} from 'react' +import * as process from 'process' import Head from 'next/head' import Link from 'next/link' import {Container} from '@/components/Container' @@ -17,6 +18,8 @@ type ArticleLayout = { slug: string } +const isProd = process.env.NODE_ENV === 'production' + export function ArticleLayout({ children, isRssFeed = false, @@ -106,7 +109,7 @@ export function ArticleLayout({ - +

{children}