work on blade to react

This commit is contained in:
Olivier Gagnon
2021-08-15 21:49:08 -04:00
parent 33f0efd49c
commit 99d4f17cdb
17 changed files with 247 additions and 301 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ interface IConstructorParams {
}
function generateStatsDescription(mults: IMap<number>, programs?: string[], startingMoney?: number): JSX.Element {
const f = (x: number, decimals: number = 0) => {
const f = (x: number, decimals = 0) => {
// look, I don't know how to make a "smart decimals"
// todo, make it smarter
if(x === 1.0777-1) return "7.77%";