diff --git a/.prettierrc b/.prettierrc index eb077ee..96549ec 100644 --- a/.prettierrc +++ b/.prettierrc @@ -1,5 +1,5 @@ { - "printWidth": 120, + "printWidth": 100, "singleQuote": true, "semi": true, "bracketSpacing": true, diff --git a/phone/public/index.html b/phone/public/index.html index bd892da..8e9020a 100644 --- a/phone/public/index.html +++ b/phone/public/index.html @@ -2,7 +2,10 @@
- +{transaction.type}
+ {transactionList + .slice(page * rowsPerPage, page * rowsPerPage + rowsPerPage) + .map((transaction: any) => ( +{transaction.type}
++ {transaction.type === 'Withdraw' ? '-' : '+'} + {transaction.amount} +
+- {transaction.type === 'Withdraw' ? '-' : '+'} - {transaction.amount} -
-