Spaces:
Running
Running
wuyiqunLu
commited on
fix: wrong flag for showing promoting message (#42)
Browse files
components/chat/ChatList.tsx
CHANGED
@@ -23,7 +23,7 @@ export function ChatList({ messages, session, isLoading }: ChatList) {
|
|
23 |
<IconExclamationTriangle />
|
24 |
</div>
|
25 |
<div className="flex-1 px-1 ml-4 space-y-2 overflow-hidden">
|
26 |
-
{
|
27 |
<p className="text-muted-foreground leading-normal">
|
28 |
Please visit and login into{' '}
|
29 |
<Link
|
|
|
23 |
<IconExclamationTriangle />
|
24 |
</div>
|
25 |
<div className="flex-1 px-1 ml-4 space-y-2 overflow-hidden">
|
26 |
+
{process.env.NEXT_PUBLIC_IS_HUGGING_FACE ? (
|
27 |
<p className="text-muted-foreground leading-normal">
|
28 |
Please visit and login into{' '}
|
29 |
<Link
|