mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-02-18 14:26: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'}>
|
||||
{value}
|
||||
</Text>
|
||||
<div style={{ display: 'flex', justifyContent: 'end', marginTop: '8px' }}>
|
||||
<img src={`/icons/${icon}`} alt="logo" />
|
||||
</div>
|
||||
{icon && (
|
||||
<div style={{ display: 'flex', justifyContent: 'end', marginTop: '8px' }}>
|
||||
<img src={`/icons/${icon}`} alt="logo" />
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user