We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c2faa55 commit 1c3deb9Copy full SHA for 1c3deb9
pages/prompt-input/simple.page.tsx
@@ -71,7 +71,7 @@ export default function PromptInputPage() {
71
}, [hasText]);
72
73
useEffect(() => {
74
- if (textareaValue !== placeholderText) {
+ if (hasText && textareaValue !== placeholderText) {
75
setUrlParams({ hasText: false });
76
}
77
// eslint-disable-next-line react-hooks/exhaustive-deps
0 commit comments