fix: #4240 remove tip when 0 context

This commit is contained in:
river 2024-09-12 21:05:02 +08:00
parent 1234deabfa
commit 4b8288a2b2
1 changed files with 1 additions and 1 deletions

View File

@ -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"