Skip to content

Commit

Permalink
fix: Properly hide error on tab switch
Browse files Browse the repository at this point in the history
  • Loading branch information
anth-volk committed Feb 7, 2025
1 parent 779b974 commit 1353989
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pages/policy/output/Analysis.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ export default function Analysis(props) {
function resetDisplay() {
setAnalysis("");
setPrompt("");
setPromptError(false);
setShowPrompt(false);
if (aiOutputStream.current) {
aiOutputStream.current.cancel();
Expand Down

0 comments on commit 1353989

Please sign in to comment.