add public key to community dialog
This commit is contained in:
parent
805944a3d7
commit
c79bcb62e1
|
@ -4,7 +4,7 @@ import { useProtocol } from '~/src/protocol'
|
||||||
import { Button, CopyInput, Dialog, Flex, Grid, Text } from '~/src/system'
|
import { Button, CopyInput, Dialog, Flex, Grid, Text } from '~/src/system'
|
||||||
|
|
||||||
export const CommunityDialog = () => {
|
export const CommunityDialog = () => {
|
||||||
const { community } = useProtocol()
|
const { client, community } = useProtocol()
|
||||||
const { displayName, description } = community.identity!
|
const { displayName, description } = community.identity!
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
@ -15,7 +15,10 @@ export const CommunityDialog = () => {
|
||||||
<Dialog.Separator />
|
<Dialog.Separator />
|
||||||
<Dialog.Body>
|
<Dialog.Body>
|
||||||
<Grid gap={3}>
|
<Grid gap={3}>
|
||||||
<CopyInput label="Community Public Key" value="0xTODO" />
|
<CopyInput
|
||||||
|
label="Community Public Key"
|
||||||
|
value={client.community.publicKey}
|
||||||
|
/>
|
||||||
<Text size="13" color="gray">
|
<Text size="13" color="gray">
|
||||||
To access this community, paste community public key in Status
|
To access this community, paste community public key in Status
|
||||||
desktop or mobile app.
|
desktop or mobile app.
|
||||||
|
|
Loading…
Reference in New Issue