display pubKey when supplied

This commit is contained in:
Barry Gitarts 2018-10-25 15:56:12 +02:00 committed by Alexander Pantyuhov
parent 403e130cd6
commit e926060712
1 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ const BlueBox = styled.div`
color: #4360df; color: #4360df;
`; `;
const DisplayBox = ({displayType, text, onClick, showBlueBox}) => ( const DisplayBox = ({ displayType, pubKey, onClick, showBlueBox }) => (
<div> <div>
<DisplayLabel> <DisplayLabel>
{displayType} {displayType}
@ -42,7 +42,7 @@ const DisplayBox = ({displayType, text, onClick, showBlueBox}) => (
</BlueBox> </BlueBox>
: :
<Typography type='body1'> <Typography type='body1'>
{text} {pubKey}
</Typography> </Typography>
} }
</InnerDisplayBox> </InnerDisplayBox>