mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Drop eslint-disable and TODO comments from Modal component (#7589)
This commit is contained in:
parent
13a1de061d
commit
f61b068bd2
@ -192,9 +192,7 @@ const MODALS = {
|
||||
},
|
||||
|
||||
GAS_PRICE_INFO_MODAL: {
|
||||
// TODO Remove this once our i18n unused messages script detection is better
|
||||
// eslint-disable-next-line react/jsx-curly-brace-presence
|
||||
contents: <NotifcationModal header={'gasPriceNoDenom'} message={'gasPriceInfoModalContent'} />,
|
||||
contents: <NotifcationModal header="gasPriceNoDenom" message="gasPriceInfoModalContent" />,
|
||||
mobileModalStyle: {
|
||||
width: '95%',
|
||||
top: getEnvironmentType(window.location.href) === ENVIRONMENT_TYPE_POPUP ? '52vh' : '36.5vh',
|
||||
@ -206,9 +204,7 @@ const MODALS = {
|
||||
},
|
||||
|
||||
GAS_LIMIT_INFO_MODAL: {
|
||||
// TODO Remove this once our i18n unused messages script detection is better
|
||||
// eslint-disable-next-line react/jsx-curly-brace-presence
|
||||
contents: <NotifcationModal header={'gasLimit'} message={'gasLimitInfoModalContent'} />,
|
||||
contents: <NotifcationModal header="gasLimit" message="gasLimitInfoModalContent" />,
|
||||
mobileModalStyle: {
|
||||
width: '95%',
|
||||
top: getEnvironmentType(window.location.href) === ENVIRONMENT_TYPE_POPUP ? '52vh' : '36.5vh',
|
||||
|
Loading…
Reference in New Issue
Block a user