Commit a91c490
perf: lazy-load mentionable users instead of preloading on app init
Remove the useEffect that preloads mentionable users on app mount.
The data is now fetched on-demand when:
- User types @ in the editor (MentionPerson component)
- User opens the share panel (SharePanel component)
This improves initial load performance and avoids potential race
conditions during OAuth login where the API might be called before
the token is fully recognized.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <[email protected]>1 parent 1352f02 commit a91c490
1 file changed
+0
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | 232 | | |
238 | 233 | | |
239 | 234 | | |
| |||
0 commit comments