mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-29 12:27:07 +02:00
IMPROVEMENT: partial migration @mui/styles to tss-react (#1338)
This commit is contained in:
@@ -33,7 +33,7 @@ interface IProps {
|
||||
}
|
||||
|
||||
export function StatsElement(props: IProps): React.ReactElement {
|
||||
const classes = useStyles();
|
||||
const { classes } = useStyles();
|
||||
|
||||
return (
|
||||
<Table sx={{ display: "table", mb: 1, width: "100%" }}>
|
||||
@@ -109,7 +109,7 @@ export function StatsElement(props: IProps): React.ReactElement {
|
||||
}
|
||||
|
||||
export function EarningsElement(props: IProps): React.ReactElement {
|
||||
const classes = useStyles();
|
||||
const { classes } = useStyles();
|
||||
|
||||
let data: (string | JSX.Element)[][] = [];
|
||||
if (isSleeveCrimeWork(props.sleeve.currentWork)) {
|
||||
|
||||
Reference in New Issue
Block a user