diff --git a/.env.local b/.env.local index ad3056e7..5df7065b 100644 --- a/.env.local +++ b/.env.local @@ -1,2 +1,2 @@ # 环境变量 @see https://www.nextjs.cn/docs/basic-features/environment-variables -NEXT_PUBLIC_VERSION=4.0.15 \ No newline at end of file +NEXT_PUBLIC_VERSION=4.0.16 \ No newline at end of file diff --git a/.gitignore b/.gitignore index 332741bc..1befa8c4 100644 --- a/.gitignore +++ b/.gitignore @@ -29,6 +29,7 @@ yarn-error.log* .env.development.local .env.test.local .env.production.local +.env # vercel .vercel diff --git a/components/StarrySky.js b/components/StarrySky.js index 5479df93..e0fd3ac4 100644 --- a/components/StarrySky.js +++ b/components/StarrySky.js @@ -1,23 +1,24 @@ /* eslint-disable */ -import React from 'react' +import { useEffect } from 'react' const StarrySky = () => { - React.useEffect(() => { - dark() + useEffect(() => { + renderStarrySky() }, []) return (
{post.title}
{post.summary ? post.summary : '暂无简介'}
没有找到文章 {(currentSearch &&