mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-29 19:13:49 +01:00
Fix console warning on ascension modal
This commit is contained in:
parent
3921457ee6
commit
f6bb4e0138
@ -31,7 +31,7 @@ export function AscensionModal(props: IProps): React.ReactElement {
|
|||||||
props.onAscend();
|
props.onAscend();
|
||||||
const res = gang.ascendMember(props.member);
|
const res = gang.ascendMember(props.member);
|
||||||
dialogBoxCreate(
|
dialogBoxCreate(
|
||||||
<Typography>
|
<>
|
||||||
You ascended {props.member.name}!<br />
|
You ascended {props.member.name}!<br />
|
||||||
<br />
|
<br />
|
||||||
Your gang lost {numeralWrapper.formatRespect(res.respect)} respect.
|
Your gang lost {numeralWrapper.formatRespect(res.respect)} respect.
|
||||||
@ -51,7 +51,7 @@ export function AscensionModal(props: IProps): React.ReactElement {
|
|||||||
<br />
|
<br />
|
||||||
Charisma: x{numeralWrapper.format(res.cha, "0.000")}
|
Charisma: x{numeralWrapper.format(res.cha, "0.000")}
|
||||||
<br />
|
<br />
|
||||||
</Typography>,
|
</>
|
||||||
);
|
);
|
||||||
props.onClose();
|
props.onClose();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user