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: {
|
GAS_PRICE_INFO_MODAL: {
|
||||||
// TODO Remove this once our i18n unused messages script detection is better
|
contents: <NotifcationModal header="gasPriceNoDenom" message="gasPriceInfoModalContent" />,
|
||||||
// eslint-disable-next-line react/jsx-curly-brace-presence
|
|
||||||
contents: <NotifcationModal header={'gasPriceNoDenom'} message={'gasPriceInfoModalContent'} />,
|
|
||||||
mobileModalStyle: {
|
mobileModalStyle: {
|
||||||
width: '95%',
|
width: '95%',
|
||||||
top: getEnvironmentType(window.location.href) === ENVIRONMENT_TYPE_POPUP ? '52vh' : '36.5vh',
|
top: getEnvironmentType(window.location.href) === ENVIRONMENT_TYPE_POPUP ? '52vh' : '36.5vh',
|
||||||
@ -206,9 +204,7 @@ const MODALS = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
GAS_LIMIT_INFO_MODAL: {
|
GAS_LIMIT_INFO_MODAL: {
|
||||||
// TODO Remove this once our i18n unused messages script detection is better
|
contents: <NotifcationModal header="gasLimit" message="gasLimitInfoModalContent" />,
|
||||||
// eslint-disable-next-line react/jsx-curly-brace-presence
|
|
||||||
contents: <NotifcationModal header={'gasLimit'} message={'gasLimitInfoModalContent'} />,
|
|
||||||
mobileModalStyle: {
|
mobileModalStyle: {
|
||||||
width: '95%',
|
width: '95%',
|
||||||
top: getEnvironmentType(window.location.href) === ENVIRONMENT_TYPE_POPUP ? '52vh' : '36.5vh',
|
top: getEnvironmentType(window.location.href) === ENVIRONMENT_TYPE_POPUP ? '52vh' : '36.5vh',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user