rewrite augmentation stats description so it's autogenerated and consistent with the actual effects.

This commit is contained in:
Olivier Gagnon
2021-08-15 00:24:31 -04:00
parent 0671c48c86
commit be8d56ced9
9 changed files with 298 additions and 401 deletions
+2 -2
View File
@@ -28,7 +28,7 @@ export function AugmentationAccordion(props: IProps): React.ReactElement {
return (
<Accordion
headerContent={<>{displayName}</>}
panelContent={<p dangerouslySetInnerHTML={{__html: props.aug.info}}></p>}
panelContent={<p><span dangerouslySetInnerHTML={{__html: props.aug.info}} /><br /><br />{props.aug.stats}</p>}
/>
)
}
@@ -36,7 +36,7 @@ export function AugmentationAccordion(props: IProps): React.ReactElement {
return (
<Accordion
headerContent={<>{displayName}</>}
panelContent={<p>{props.aug.info}</p>}
panelContent={<p>{props.aug.info}<br /><br />{props.aug.stats}</p>}
/>
)
}