Skip to content

Commit 5b4eef2

Browse files
fix: Typography color
1 parent 42b472f commit 5b4eef2

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

src/pages/dashboard/components/BigStat/BigStat.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,7 @@ export default function BigStat(props) {
5050
<Typography size="xxl" color="text" colorBrightness="secondary">
5151
{total[value]}
5252
</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"}>
6054
&nbsp;{total.percent.profit ? "+" : "-"}
6155
{total.percent.value}%
6256
</Typography>

src/pages/dashboard/components/Table/Table.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export default function TableComponent({ data }) {
4040
<TableCell>{city}</TableCell>
4141
<TableCell>
4242
<Button
43-
colortheme={states[status.toLowerCase()]}
43+
color={states[status.toLowerCase()]}
4444
size="small"
4545
className="px-2"
4646
variant="contained"

0 commit comments

Comments
 (0)