Skip to content

Commit

Permalink
Merge pull request ChatGPTNextWeb#5406 from ChatGPTNextWeb/river
Browse files Browse the repository at this point in the history
fix: ChatGPTNextWeb#4240 remove tip when 0 context
  • Loading branch information
Dogtiti authored Sep 12, 2024
2 parents 5964181 + 4b8288a commit 07c6fe5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/chat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ function PromptToast(props: {

return (
<div className={styles["prompt-toast"]} key="prompt-toast">
{props.showToast && (
{props.showToast && context.length > 0 && (
<div
className={styles["prompt-toast-inner"] + " clickable"}
role="button"
Expand Down

0 comments on commit 07c6fe5

Please sign in to comment.