UI: Faction augmentation page rerenders automatically (#744)

This commit is contained in:
Caldwell 2023-08-28 20:40:34 +02:00 committed by GitHub
parent 79b677973b
commit 101fb21c58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -19,7 +19,7 @@ import { useRerender } from "../../ui/React/hooks";
/** Root React Component for displaying a faction's "Purchase Augmentations" page */
export function AugmentationsPage({ faction }: { faction: Faction }): React.ReactElement {
const rerender = useRerender();
const rerender = useRerender(400);
function getAugs(): AugmentationName[] {
return getFactionAugmentationsFiltered(faction);