mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 09:57:02 +01:00
Disabled button for Import Tokens Modal when no token is selected (#18396)
* disabled button for zero token * addressed changes
This commit is contained in:
parent
1e079e95b0
commit
4b271868cf
@ -63,6 +63,7 @@ const DetectedTokenSelectionPopover = ({
|
||||
className="detected-token-selection-popover__import-button"
|
||||
type="primary"
|
||||
onClick={onImport}
|
||||
disabled={selectedTokens.length === 0}
|
||||
>
|
||||
{t('importWithCount', [numOfTokensImporting])}
|
||||
</Button>
|
||||
|
Loading…
Reference in New Issue
Block a user