Repository navigation
Commit 4d5d85a
refactor(web): ComposerControlsBar drops its memo() wrapper
The React Compiler already caches the <ComposerControlsBar> element in
ChatComposer when its props are unchanged, so the manual memo buys nothing.
Co-Authored-By: Claude Opus 5.5 <[email protected]>1 parent beec3c8 commit 4d5d85a
1 file changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
| |||
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
34 | | - | |
| 33 | + | |
35 | 34 | | |
36 | 35 | | |
37 | 36 | | |
| |||
328 | 327 | | |
329 | 328 | | |
330 | 329 | | |
331 | | - | |
| 330 | + | |
0 commit comments