Open brenzi opened 2 years ago
Token decimals can be derived from js/api and should not be hardcoded
The following should be done properly (generic decimals and better typing: this here can overflow?):
https://github.com/integritee-network/crowdloan/blob/6cd1fc649ca050a1e6be28cff477568608055c3b/src/Participate.js#L431
And this also
https://github.com/integritee-network/crowdloan/blob/c269fdde42b33db95f73ef5ec926d3f6bb77519c/src/Why.js#L95
Token decimals can be derived from js/api and should not be hardcoded
The following should be done properly (generic decimals and better typing: this here can overflow?):
https://github.com/integritee-network/crowdloan/blob/6cd1fc649ca050a1e6be28cff477568608055c3b/src/Participate.js#L431
And this also
https://github.com/integritee-network/crowdloan/blob/c269fdde42b33db95f73ef5ec926d3f6bb77519c/src/Why.js#L95