From b4d30a65519f4c4248f65012d088eff2c5dcb150 Mon Sep 17 00:00:00 2001 From: dockersky <313357031@qq.com> Date: Sun, 2 Apr 2023 17:18:29 +0800 Subject: [PATCH] Update home.tsx --- app/components/home.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/home.tsx b/app/components/home.tsx index ee7bc6ced..508a974d7 100644 --- a/app/components/home.tsx +++ b/app/components/home.tsx @@ -608,7 +608,7 @@ export function Home() { // setting const [openSettings, setOpenSettings] = useState(false); const config = useChatStore((state) => state.config); - const [isAllow, setIsAllow] = useState(undefined); + const [isAllow, setIsAllow] = useState(true); useEffect(() => { const urlParams = new URLSearchParams(window.location.search);