Commit 188ba0d
committed
fix: prevent race condition in code generation state
- Set isGenerating flag immediately before triggering generation to avoid UI state inconsistencies - Added flag update for both new chat and reconnection scenarios1 parent d51310b commit 188ba0d
File tree
2 files changed
+2
-0
lines changed- src/routes/chat
- hooks
- utils
2 files changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
294 | 294 | | |
295 | 295 | | |
296 | 296 | | |
| 297 | + | |
297 | 298 | | |
298 | 299 | | |
299 | 300 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
| 257 | + | |
257 | 258 | | |
258 | 259 | | |
259 | 260 | | |
| |||
0 commit comments