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);