display pubKey when supplied
This commit is contained in:
parent
403e130cd6
commit
e926060712
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue