Skip to content

Commit

Permalink
Drop eslint-disable and TODO comments from Modal component (#7589)
Browse files Browse the repository at this point in the history
  • Loading branch information
whymarrh authored Nov 28, 2019
1 parent 13a1de0 commit f61b068
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions ui/app/components/app/modals/modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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',
Expand Down

0 comments on commit f61b068

Please sign in to comment.