Commit 2d23dae
committed
Fix stale ref reads in ChatComposer and remove dead probeCodexAccount export
- Move composerMenuOpenRef, composerMenuItemsRef, and activeComposerMenuItemRef
assignments back to synchronous render phase instead of useEffect, preventing
stale reads during fast keypresses between render commit and effect execution.
- Remove unused probeCodexAccount function from codexAppServer.ts (replaced by
probeCodexDiscovery at all call sites).1 parent ebbf325 commit 2d23dae
File tree
2 files changed
+3
-18
lines changed- apps
- server/src/provider
- web/src/components/chat
2 files changed
+3
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
820 | 820 | | |
821 | 821 | | |
822 | 822 | | |
823 | | - | |
824 | | - | |
825 | | - | |
826 | | - | |
827 | | - | |
| 823 | + | |
| 824 | + | |
| 825 | + | |
828 | 826 | | |
829 | 827 | | |
830 | 828 | | |
| |||
0 commit comments