Update HacknetServerElem.tsx

Prettier pass
This commit is contained in:
borisflagell 2022-04-23 15:18:43 +02:00
parent 1d3483c8c1
commit ad4c84be93

@ -70,8 +70,12 @@ export function HacknetServerElem(props: IProps): React.ReactElement {
<Tooltip <Tooltip
title={ title={
<Typography> <Typography>
+<HashRate hashes={modded_increase} /> (effective increase, taking current RAM usage into account)<br /> +<HashRate hashes={modded_increase} /> (effective increase, taking current RAM usage into account)
<span style={{ opacity: 0.5 }}>+<HashRate hashes={base_increase} /></span> (base increase, attained when no script is running) <br />
<span style={{ opacity: 0.5 }}>
+<HashRate hashes={base_increase} />
</span>{" "}
(base increase, attained when no script is running)
</Typography> </Typography>
} }
> >
@ -136,8 +140,12 @@ export function HacknetServerElem(props: IProps): React.ReactElement {
<Tooltip <Tooltip
title={ title={
<Typography> <Typography>
+<HashRate hashes={modded_increase} /> (effective increase, taking current RAM usage into account)<br /> +<HashRate hashes={modded_increase} /> (effective increase, taking current RAM usage into account)
<span style={{ opacity: 0.5 }}>+<HashRate hashes={base_increase} /></span> (base increase, attained when no script is running) <br />
<span style={{ opacity: 0.5 }}>
+<HashRate hashes={base_increase} />
</span>{" "}
(base increase, attained when no script is running)
</Typography> </Typography>
} }
> >
@ -180,8 +188,12 @@ export function HacknetServerElem(props: IProps): React.ReactElement {
<Tooltip <Tooltip
title={ title={
<Typography> <Typography>
+<HashRate hashes={modded_increase} /> (effective increase, taking current RAM usage into account)<br /> +<HashRate hashes={modded_increase} /> (effective increase, taking current RAM usage into account)
<span style={{ opacity: 0.5 }}>+<HashRate hashes={base_increase} /></span> (base increase, attained when no script is running) <br />
<span style={{ opacity: 0.5 }}>
+<HashRate hashes={base_increase} />
</span>{" "}
(base increase, attained when no script is running)
</Typography> </Typography>
} }
> >