| 1 | import type { ChannelData } from "../../routes/workspace/chat/channel"; |
| 2 | import { createConversationCache } from "../../lib/chat-cache"; |
| 3 | |
| 4 | /** |
| 5 | * Conversations already seen in this tab (lib/chat-cache.ts): what |
| 6 | * switching back to one draws at once (routes/workspace/chat/channel.tsx |
| 7 | * `clientLoader`). The page keeps its entry current as messages arrive, and |
| 8 | * the sidebar fills it ahead on hover. |
| 9 | */ |
| 10 | export const conversationCache = createConversationCache<ChannelData>(); |