Skip to content

Commit 1f0f3c4

Browse files
authored
Merge pull request #405 from wri/hotfix/chat-starter-prompts
Add starter prompts back for new convos
2 parents 216fed2 + 35d1b0f commit 1f0f3c4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

app/components/ChatMessages.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ import Reasoning from "./Reasoning";
77
import SamplePrompts from "./SamplePrompts";
88
import ChatDisclaimer from "./ChatDisclaimer";
99

10-
const LANDING_PAGE_VERSION = process.env.NEXT_PUBLIC_LANDING_PAGE_VERSION;
11-
1210
function ChatMessages() {
1311
const containerRef = useRef<HTMLDivElement>(null);
1412
const { messages, isLoading } = useChatStore();
@@ -110,7 +108,7 @@ function ChatMessages() {
110108
{isLoading && index === lastUserMessageIndex && <Reasoning />}
111109

112110
{/* Prompt options for first message, removed when sent */}
113-
{messages.length < 2 && LANDING_PAGE_VERSION !== "public" && (
111+
{messages.length < 2 && (
114112
<SamplePrompts />
115113
)}
116114
</Fragment>

0 commit comments

Comments
 (0)