File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed
src/pages/dashboard/components Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -50,13 +50,7 @@ export default function BigStat(props) {
50
50
< Typography size = "xxl" color = "text" colorBrightness = "secondary" >
51
51
{ total [ value ] }
52
52
</ Typography >
53
- { /* <Typography color={total.percent.profit ? "success" : "secondary"}> */ }
54
- < Typography
55
- style = { {
56
- color : total . percent . profit && theme . palette . success . main ,
57
- } }
58
- color = "secondary"
59
- >
53
+ < Typography color = { total . percent . profit ? "success" : "secondary" } >
60
54
{ total . percent . profit ? "+" : "-" }
61
55
{ total . percent . value } %
62
56
</ Typography >
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ export default function TableComponent({ data }) {
40
40
< TableCell > { city } </ TableCell >
41
41
< TableCell >
42
42
< Button
43
- colortheme = { states [ status . toLowerCase ( ) ] }
43
+ color = { states [ status . toLowerCase ( ) ] }
44
44
size = "small"
45
45
className = "px-2"
46
46
variant = "contained"
You can’t perform that action at this time.
0 commit comments