mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2025-03-07 19:14:37 +01:00
UI: Faction augmentation page rerenders automatically (#744)
This commit is contained in:
@ -19,7 +19,7 @@ import { useRerender } from "../../ui/React/hooks";
|
|||||||
|
|
||||||
/** Root React Component for displaying a faction's "Purchase Augmentations" page */
|
/** Root React Component for displaying a faction's "Purchase Augmentations" page */
|
||||||
export function AugmentationsPage({ faction }: { faction: Faction }): React.ReactElement {
|
export function AugmentationsPage({ faction }: { faction: Faction }): React.ReactElement {
|
||||||
const rerender = useRerender();
|
const rerender = useRerender(400);
|
||||||
|
|
||||||
function getAugs(): AugmentationName[] {
|
function getAugs(): AugmentationName[] {
|
||||||
return getFactionAugmentationsFiltered(faction);
|
return getFactionAugmentationsFiltered(faction);
|
||||||
|
Reference in New Issue
Block a user