mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-06-13 09:30:53 +02:00
Add back modals on chat page (#1983)
This commit is contained in:
parent
eb9bb56829
commit
60a87d9472
@ -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";
|
||||||
|
|
||||||
|
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user