diff --git a/next.config.js b/next.config.js deleted file mode 100644 index c98cb2f..0000000 --- a/next.config.js +++ /dev/null @@ -1,5 +0,0 @@ -module.exports = { - webpack: (config, { buildId, dev, isServer, defaultLoaders, webpack }) => { - return config; - }, -}; diff --git a/pages/articles/[id].tsx b/pages/articles/[id].tsx index 80c9568..24e8229 100644 --- a/pages/articles/[id].tsx +++ b/pages/articles/[id].tsx @@ -4,7 +4,7 @@ import { GetServerSideProps } from "next"; import { addApolloState, initializeApollo } from "../../commons/graphql/client"; import { ARTICLE } from "../../commons/graphql/queries"; import { Article } from "../../commons/graphql/generated"; -import { format, formatRelative } from "date-fns"; +import { formatRelative } from "date-fns"; import { zhCN } from "date-fns/locale"; interface Props { article: Article;