Drop eslint-disable and TODO comments from Modal component (#7589)

feature/default_network_editable
Whymarrh Whitby 5 years ago committed by GitHub
parent 13a1de061d
commit f61b068bd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      ui/app/components/app/modals/modal.js

@ -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…
Cancel
Save