Commit 69c211c
fix(vscode-webui): prevent unnecessary notification after new task submit (#711)
This change fixes a bug where unnecessary notifications were sent after submitting a new task. The autoApproveGuard was being set in the wrong order, causing potential race conditions that could trigger notifications when they shouldn't occur.
The fix repositions the autoApproveGuard assignment to ensure it's set before calling sendMessage, preventing the unwanted notifications.
🤖 Generated with [Pochi](https://getpochi.com)
Co-authored-by: Pochi <[email protected]>1 parent 242f4b7 commit 69c211c
File tree
1 file changed
+3
-3
lines changed- packages/vscode-webui/src/features/chat/hooks
1 file changed
+3
-3
lines changedLines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| 139 | + | |
139 | 140 | | |
140 | 141 | | |
141 | 142 | | |
142 | | - | |
143 | | - | |
144 | 143 | | |
145 | 144 | | |
146 | 145 | | |
147 | 146 | | |
148 | 147 | | |
149 | 148 | | |
150 | 149 | | |
| 150 | + | |
| 151 | + | |
151 | 152 | | |
152 | 153 | | |
153 | 154 | | |
154 | | - | |
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
| |||
0 commit comments