mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-02-18 22:37:39 +00:00
feat: add check for icon value
This commit is contained in:
parent
1b41b23718
commit
69e7fbdf59
@ -32,9 +32,11 @@ const RecoveryMechanismCard = ({ value, recoveryMechanism, icon }: RecoveryMecha
|
|||||||
<Text size={15} weight={'semibold'}>
|
<Text size={15} weight={'semibold'}>
|
||||||
{value}
|
{value}
|
||||||
</Text>
|
</Text>
|
||||||
<div style={{ display: 'flex', justifyContent: 'end', marginTop: '8px' }}>
|
{icon && (
|
||||||
<img src={`/icons/${icon}`} alt="logo" />
|
<div style={{ display: 'flex', justifyContent: 'end', marginTop: '8px' }}>
|
||||||
</div>
|
<img src={`/icons/${icon}`} alt="logo" />
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user