diff options
author | Fabio Berger <me@fabioberger.com> | 2018-08-08 21:32:14 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-08-08 21:32:14 +0800 |
commit | d49af66add3f59a5da48d3d2b364cfcfd18fe04a (patch) | |
tree | ca36623e98e8ab48e45dded8e6a197253e278d2f /packages/react-shared | |
parent | 1a89905ab9602ccd81c5702bcc13246cd1f6960b (diff) | |
download | dexon-0x-contracts-d49af66add3f59a5da48d3d2b364cfcfd18fe04a.tar.gz dexon-0x-contracts-d49af66add3f59a5da48d3d2b364cfcfd18fe04a.tar.zst dexon-0x-contracts-d49af66add3f59a5da48d3d2b364cfcfd18fe04a.zip |
Add additional special-case acronym
Diffstat (limited to 'packages/react-shared')
-rw-r--r-- | packages/react-shared/src/utils/utils.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/react-shared/src/utils/utils.ts b/packages/react-shared/src/utils/utils.ts index ce7effaff..0c0e7722c 100644 --- a/packages/react-shared/src/utils/utils.ts +++ b/packages/react-shared/src/utils/utils.ts @@ -46,7 +46,7 @@ export const utils = { return char; }); let finalText = charArray.join(''); - const exceptions = { 'EIP ': 'E I P', 'ZRX ': 'Z R X', 'ERC ': 'E R C' }; + const exceptions = { 'EIP ': 'E I P', 'ZRX ': 'Z R X', 'ERC ': 'E R C', RPC: 'R P C' }; _.each(exceptions, (spaced, normal) => { if (_.includes(finalText, spaced)) { finalText = finalText.replace(spaced, normal); |