From 6c970f74e2b9446965c52def14d18c6b0f940111 Mon Sep 17 00:00:00 2001 From: Pavel Prichodko <14926950+prichodko@users.noreply.github.com> Date: Tue, 14 Jun 2022 11:25:09 +0200 Subject: [PATCH] add public key to community dialog --- .../components/community-info/community-dialog.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/status-react/src/components/main-sidebar/components/community-info/community-dialog.tsx b/packages/status-react/src/components/main-sidebar/components/community-info/community-dialog.tsx index a3d22e2d..da312ace 100644 --- a/packages/status-react/src/components/main-sidebar/components/community-info/community-dialog.tsx +++ b/packages/status-react/src/components/main-sidebar/components/community-info/community-dialog.tsx @@ -4,7 +4,7 @@ import { useProtocol } from '~/src/protocol' import { Button, CopyInput, Dialog, Flex, Grid, Text } from '~/src/system' export const CommunityDialog = () => { - const { community } = useProtocol() + const { client, community } = useProtocol() const { displayName, description } = community.identity! return ( @@ -15,7 +15,10 @@ export const CommunityDialog = () => { - + To access this community, paste community public key in Status desktop or mobile app.