We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae14d6d commit 794e1d3Copy full SHA for 794e1d3
web/src/chat/WelcomeHeader.js
@@ -14,18 +14,16 @@
14
15
import React from "react";
16
import {Welcome} from "@ant-design/x";
17
-import * as Setting from "../Setting";
18
-import i18next from "i18next";
19
20
const WelcomeHeader = ({store}) => {
21
- const avatar = store?.avatar || Setting.AiAvatar;
+ const avatar = store?.avatar || null;
22
23
return (
24
<Welcome
25
variant="borderless"
26
icon={avatar}
27
- title={store?.welcomeTitle || i18next.t("chat:Hello, I'm Casibase AI Assistant")}
28
- description={store?.welcomeText || i18next.t("chat:I'm here to help answer your questions")}
+ title={store?.welcomeTitle || null}
+ description={store?.welcomeText || null}
29
/>
30
);
31
};
0 commit comments