diff --git a/contents/2023-02-11-Scuffed_server.mdx b/contents/2023-02-11-Scuffed_server.mdx index 217a113..4f016b8 100644 --- a/contents/2023-02-11-Scuffed_server.mdx +++ b/contents/2023-02-11-Scuffed_server.mdx @@ -117,6 +117,9 @@ uwsgi /path/to/uwsgi.ini then i added the isso script to my gatsby component ```javascript +import { Script } from "gatsby"; +// ... + const Comment = ({post_id}) => { return ( <> @@ -139,7 +142,7 @@ const Comment = ({post_id}) => {
-
+
{post.date} diff --git a/src/pages/Layout/index.tsx b/src/pages/Layout/index.tsx index 04aa51b..e5a2c65 100644 --- a/src/pages/Layout/index.tsx +++ b/src/pages/Layout/index.tsx @@ -1,4 +1,4 @@ -import React, { useEffect, useState } from "react"; +import React from "react"; import { graphql, Script } from "gatsby"; import config from '../../../data/site-config'; import Base from "../../components/Base";