mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-09 11:36:38 +08:00
feat: 移除vconsole
This commit is contained in:
parent
2ac119d014
commit
3e6f4d0e82
@ -36,7 +36,6 @@ import dynamic from "next/dynamic";
|
|||||||
import { REPO_URL } from "../constant";
|
import { REPO_URL } from "../constant";
|
||||||
import { ControllerPool, validUser } from "../requests";
|
import { ControllerPool, validUser } from "../requests";
|
||||||
import { Prompt, usePromptStore } from "../store/prompt";
|
import { Prompt, usePromptStore } from "../store/prompt";
|
||||||
import VConsole from 'vconsole';
|
|
||||||
|
|
||||||
export function Loading(props: { noLogo?: boolean }) {
|
export function Loading(props: { noLogo?: boolean }) {
|
||||||
return (
|
return (
|
||||||
@ -614,7 +613,6 @@ export function Home() {
|
|||||||
const [isLoading, setIsLoading] = useState(false);
|
const [isLoading, setIsLoading] = useState(false);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
new VConsole();
|
|
||||||
getBaseInfo()
|
getBaseInfo()
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
|
@ -31,7 +31,6 @@
|
|||||||
"sass": "^1.59.2",
|
"sass": "^1.59.2",
|
||||||
"spark-md5": "^3.0.2",
|
"spark-md5": "^3.0.2",
|
||||||
"use-debounce": "^9.0.3",
|
"use-debounce": "^9.0.3",
|
||||||
"vconsole": "^3.15.0",
|
|
||||||
"zustand": "^4.3.6"
|
"zustand": "^4.3.6"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
Loading…
Reference in New Issue
Block a user