Fix faction augmentations screen

* Buying an augmentation rerenders the augmentations page (rerender function passed down through props)
* Each unowned purchasable augmentation rerenders periodically to re-check whether it can be bought.
This commit is contained in:
omuretsu
2023-07-11 11:28:23 -04:00
parent 993f234f48
commit 05651aa7f5
3 changed files with 16 additions and 2 deletions
@@ -48,6 +48,7 @@ export function SleeveAugmentationsModal(props: IProps): React.ReactElement {
props.sleeve.tryBuyAugmentation(aug);
rerender();
}}
rerender={rerender}
sleeveAugs
/>
</Modal>