Repository navigation
Commit 7fd167e
refactor(mobile): thread settings builds its catalog in a plain function
useThreadSettingsCatalogItems called no hooks once its useMemo was gone, so
the compiler skipped it and rebuilt the catalog every render. As a plain
function called after the component's hooks, the call is cached on the
settings session.
Co-Authored-By: Claude Opus 5.5 <[email protected]>1 parent 7829cf4 commit 7fd167e
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
671 | 671 | | |
672 | 672 | | |
673 | 673 | | |
674 | | - | |
| 674 | + | |
675 | 675 | | |
676 | 676 | | |
677 | 677 | | |
| |||
872 | 872 | | |
873 | 873 | | |
874 | 874 | | |
875 | | - | |
876 | 875 | | |
| 876 | + | |
877 | 877 | | |
878 | 878 | | |
879 | 879 | | |
| |||
0 commit comments