From 8bbe72d6994075a465dc3e192f80c73764af0464 Mon Sep 17 00:00:00 2001 From: Pavel Prichodko <14926950+prichodko@users.noreply.github.com> Date: Mon, 23 May 2022 14:40:03 +0200 Subject: [PATCH] style(react): update static data --- packages/status-react/src/protocol/use-chat.tsx | 10 ++++++++++ packages/status-react/src/protocol/use-messages.tsx | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/packages/status-react/src/protocol/use-chat.tsx b/packages/status-react/src/protocol/use-chat.tsx index b2d9e78..ec27fa9 100644 --- a/packages/status-react/src/protocol/use-chat.tsx +++ b/packages/status-react/src/protocol/use-chat.tsx @@ -15,6 +15,16 @@ const chats: Record = { imageUrl: 'https://images.unsplash.com/photo-1599420186946-7b6fb4e297f0?ixlib=rb-1.2.1&ixid=MnwxMjA3fDF8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1287&q=80', }, + pm: { + type: 'channel', + imageUrl: + 'https://images.unsplash.com/photo-1599420186946-7b6fb4e297f0?ixlib=rb-1.2.1&ixid=MnwxMjA3fDF8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1287&q=80', + }, + watercooler: { + type: 'channel', + imageUrl: + 'https://images.unsplash.com/photo-1599420186946-7b6fb4e297f0?ixlib=rb-1.2.1&ixid=MnwxMjA3fDF8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1287&q=80', + }, 'vitalik.eth': { type: 'chat', imageUrl: '' }, 'pvl.eth': { type: 'chat', imageUrl: '' }, 'Climate Change': { type: 'group-chat', imageUrl: '' }, diff --git a/packages/status-react/src/protocol/use-messages.tsx b/packages/status-react/src/protocol/use-messages.tsx index 1997200..7c1299e 100644 --- a/packages/status-react/src/protocol/use-messages.tsx +++ b/packages/status-react/src/protocol/use-messages.tsx @@ -250,7 +250,7 @@ export const useMessages = (): Message[] => { text: 'tincidunt tempus risus. Donec egestas. Duis ac arcu. Nunc mauris. Morbi non sapien molestie orci tincidunt adipiscing. Mauris molestie pharetra nibh. Aliquam ornare, libero at auctor ullamcorper, nisl arcu iaculis enim, sit amet ornare lectus justo eu arcu. Morbi sit amet massa. Quisque porttitor eros nec tellus. Nunc lectus pede, ultrices a, auctor non, feugiat nec, diam. Duis mi', owner: true, pinned: false, - mention: false, + mention: true, reactions: { heart: { count: 0, me: false }, 'thumbs-up': { count: 0, me: false },