Open roccomuso opened 3 years ago
Since it's used only in 1 place, this can be avoided:
https://github.com/thetatoken/theta-wallet-web/blob/e6cf02e14d6f8fef39c413251d05b8c84cda10be/src/libs/thetajs.esm.js#L77-L81
and replaced using lodash padStart(x, 2, '0'). Not a good practice to pollute prototype for libs being reused elsewhere in a project.
padStart(x, 2, '0')
Since it's used only in 1 place, this can be avoided:
https://github.com/thetatoken/theta-wallet-web/blob/e6cf02e14d6f8fef39c413251d05b8c84cda10be/src/libs/thetajs.esm.js#L77-L81
and replaced using lodash
padStart(x, 2, '0')
. Not a good practice to pollute prototype for libs being reused elsewhere in a project.