Skip to content

Commit 1353989

Browse files
committed
fix: Properly hide error on tab switch
1 parent 779b974 commit 1353989

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/pages/policy/output/Analysis.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,7 @@ export default function Analysis(props) {
285285
function resetDisplay() {
286286
setAnalysis("");
287287
setPrompt("");
288+
setPromptError(false);
288289
setShowPrompt(false);
289290
if (aiOutputStream.current) {
290291
aiOutputStream.current.cancel();

0 commit comments

Comments
 (0)