From 93544ee51df05b54e6c9f3aabbdccdf71c171ff2 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 b2d9e783..ec27fa99 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 19972002..7c1299e0 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 },