From 3e6f4d0e8216f09e0e4e5cc776c47974326ff5bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9C=E5=BC=A0=E5=98=89=E5=AE=81=E2=80=9D?= <“zhangjianing@zhiketong.cn”> Date: Mon, 3 Apr 2023 18:53:37 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=A7=BB=E9=99=A4vconsole?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/components/home.tsx | 2 -- package.json | 1 - 2 files changed, 3 deletions(-) diff --git a/app/components/home.tsx b/app/components/home.tsx index 1e0cc302e..5e8645ffd 100644 --- a/app/components/home.tsx +++ b/app/components/home.tsx @@ -36,7 +36,6 @@ import dynamic from "next/dynamic"; import { REPO_URL } from "../constant"; import { ControllerPool, validUser } from "../requests"; import { Prompt, usePromptStore } from "../store/prompt"; -import VConsole from 'vconsole'; export function Loading(props: { noLogo?: boolean }) { return ( @@ -614,7 +613,6 @@ export function Home() { const [isLoading, setIsLoading] = useState(false); useEffect(() => { - new VConsole(); getBaseInfo() }, []); diff --git a/package.json b/package.json index 78f9ced25..5dd576603 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,6 @@ "sass": "^1.59.2", "spark-md5": "^3.0.2", "use-debounce": "^9.0.3", - "vconsole": "^3.15.0", "zustand": "^4.3.6" }, "devDependencies": {