From 60a87d9472d24852e28f3ea36d7abc1dd7485b39 Mon Sep 17 00:00:00 2001 From: pablodanswer Date: Tue, 30 Jul 2024 17:42:59 -0700 Subject: [PATCH] Add back modals on chat page (#1983) --- web/src/app/chat/WrappedChat.tsx | 2 -- web/src/app/chat/page.tsx | 7 ++----- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/web/src/app/chat/WrappedChat.tsx b/web/src/app/chat/WrappedChat.tsx index ae98ef039..cdb8508df 100644 --- a/web/src/app/chat/WrappedChat.tsx +++ b/web/src/app/chat/WrappedChat.tsx @@ -1,6 +1,4 @@ "use client"; - -import { useState } from "react"; import { ChatPage } from "./ChatPage"; import FunctionalWrapper from "./shared_chat_search/FunctionalWrapper"; diff --git a/web/src/app/chat/page.tsx b/web/src/app/chat/page.tsx index bdd5de247..f518a0044 100644 --- a/web/src/app/chat/page.tsx +++ b/web/src/app/chat/page.tsx @@ -43,14 +43,11 @@ export default async function Page({ return ( <> - {/* */} - {/* {shouldShowWelcomeModal && } + + {shouldShowWelcomeModal && } {!shouldShowWelcomeModal && !shouldDisplaySourcesIncompleteModal && ( )} - {shouldDisplaySourcesIncompleteModal && ( - - )} */}