mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-21 19:40:34 +00:00
refactor(collab): format the moved collab model and drop its stale comments
The model left the format baseline when it moved into components/Collab, so it is now Prettier formatted. Its header no longer points at the deleted services layer, and the colour palette no longer cites a rule that stopped applying once the file sat beside the desktop panel. The chat data hook says why it still returns setters nobody writes.
This commit is contained in:
@@ -236,6 +236,8 @@ export function useCollabChatData({
|
||||
[tripId, toast, t]
|
||||
);
|
||||
|
||||
// The setters, messagesRef and isAtBottom are only here because useCollabChat hands them
|
||||
// on in the return shape the desktop chat panel has always had; nothing writes them.
|
||||
return {
|
||||
messages,
|
||||
setMessages,
|
||||
|
||||
Reference in New Issue
Block a user