display pubKey when supplied
This commit is contained in:
parent
403e130cd6
commit
e926060712
|
@ -28,7 +28,7 @@ const BlueBox = styled.div`
|
|||
color: #4360df;
|
||||
`;
|
||||
|
||||
const DisplayBox = ({displayType, text, onClick, showBlueBox}) => (
|
||||
const DisplayBox = ({ displayType, pubKey, onClick, showBlueBox }) => (
|
||||
<div>
|
||||
<DisplayLabel>
|
||||
{displayType}
|
||||
|
@ -42,7 +42,7 @@ const DisplayBox = ({displayType, text, onClick, showBlueBox}) => (
|
|||
</BlueBox>
|
||||
:
|
||||
<Typography type='body1'>
|
||||
{text}
|
||||
{pubKey}
|
||||
</Typography>
|
||||
}
|
||||
</InnerDisplayBox>
|
||||
|
|
Loading…
Reference in New Issue