Add back modals on chat page (#1983)

This commit is contained in:
pablodanswer 2024-07-30 17:42:59 -07:00 committed by GitHub
parent eb9bb56829
commit 60a87d9472
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 7 deletions

View File

@ -1,6 +1,4 @@
"use client"; "use client";
import { useState } from "react";
import { ChatPage } from "./ChatPage"; import { ChatPage } from "./ChatPage";
import FunctionalWrapper from "./shared_chat_search/FunctionalWrapper"; import FunctionalWrapper from "./shared_chat_search/FunctionalWrapper";

View File

@ -43,14 +43,11 @@ export default async function Page({
return ( return (
<> <>
{/* <InstantSSRAutoRefresh /> */} <InstantSSRAutoRefresh />
{/* {shouldShowWelcomeModal && <WelcomeModal user={user} />} {shouldShowWelcomeModal && <WelcomeModal user={user} />}
{!shouldShowWelcomeModal && !shouldDisplaySourcesIncompleteModal && ( {!shouldShowWelcomeModal && !shouldDisplaySourcesIncompleteModal && (
<ApiKeyModal user={user} /> <ApiKeyModal user={user} />
)} )}
{shouldDisplaySourcesIncompleteModal && (
<NoCompleteSourcesModal ccPairs={ccPairs} />
)} */}
<ChatProvider <ChatProvider
value={{ value={{
user, user,