1
0
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:
Whymarrh Whitby 2019-11-28 13:38:31 -03:30 committed by GitHub
parent 13a1de061d
commit f61b068bd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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',