()
| 17 | const getServerSnapshot = (): RecentPage[] => EMPTY; |
| 18 | |
| 19 | export const useRecentPages = (): RecentPage[] => |
| 20 | useSyncExternalStore(subscribeRecentPages, getRecentPages, getServerSnapshot); |
| 21 | |
| 22 | // Entity pages (squad, source, profile) already hold the avatar the sidebar |
| 23 | // row wants, so they hand it to the store instead of leaving the row to fetch. |