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