Fix console warning on ascension modal

This commit is contained in:
nickofolas 2022-01-22 11:37:27 -06:00
parent 3921457ee6
commit f6bb4e0138

@ -31,7 +31,7 @@ export function AscensionModal(props: IProps): React.ReactElement {
props.onAscend();
const res = gang.ascendMember(props.member);
dialogBoxCreate(
<Typography>
<>
You ascended {props.member.name}!<br />
<br />
Your gang lost {numeralWrapper.formatRespect(res.respect)} respect.
@ -51,7 +51,7 @@ export function AscensionModal(props: IProps): React.ReactElement {
<br />
Charisma: x{numeralWrapper.format(res.cha, "0.000")}
<br />
</Typography>,
</>
);
props.onClose();
}