diff --git a/src/Augmentation/ui/PurchaseableAugmentations.tsx b/src/Augmentation/ui/PurchasableAugmentations.tsx
similarity index 92%
rename from src/Augmentation/ui/PurchaseableAugmentations.tsx
rename to src/Augmentation/ui/PurchasableAugmentations.tsx
index fd39fb268..7872a6e84 100644
--- a/src/Augmentation/ui/PurchaseableAugmentations.tsx
+++ b/src/Augmentation/ui/PurchasableAugmentations.tsx
@@ -5,7 +5,7 @@
import { CheckBox, CheckBoxOutlineBlank, CheckCircle, Info, NewReleases, Report } from "@mui/icons-material";
import { Box, Button, Container, Paper, Tooltip, Typography } from "@mui/material";
import React, { useState } from "react";
-import { getNextNeuroFluxLevel } from "../../Augmentation/AugmentationHelpers";
+import { getNextNeuroFluxLevel } from "../AugmentationHelpers";
import { Faction } from "../../Faction/Faction";
import { IPlayer } from "../../PersonObjects/IPlayer";
import { Settings } from "../../Settings/Settings";
@@ -115,7 +115,7 @@ const Requirement = (props: IReqProps): React.ReactElement => {
);
};
-interface IPurchaseableAugsProps {
+interface IPurchasableAugsProps {
augNames: string[];
ownedAugNames: string[];
player: IPlayer;
@@ -129,7 +129,7 @@ interface IPurchaseableAugsProps {
faction?: Faction;
}
-export const PurchaseableAugmentations = (props: IPurchaseableAugsProps): React.ReactElement => {
+export const PurchasableAugmentations = (props: IPurchasableAugsProps): React.ReactElement => {
return (
{props.augNames.map((augName: string) => (
-
+
))}
{props.ownedAugNames.map((augName: string) => (
-
+
))}
);
};
-interface IPurchaseableAugProps {
- parent: IPurchaseableAugsProps;
+interface IPurchasableAugProps {
+ parent: IPurchasableAugsProps;
augName: string;
owned: boolean;
}
-export function PurchaseableAugmentation(props: IPurchaseableAugProps): React.ReactElement {
+export function PurchasableAugmentation(props: IPurchasableAugProps): React.ReactElement {
const [open, setOpen] = useState(false);
const aug = Augmentations[props.augName];
diff --git a/src/Faction/ui/AugmentationsPage.tsx b/src/Faction/ui/AugmentationsPage.tsx
index a8b0dda3e..455f3d2fd 100644
--- a/src/Faction/ui/AugmentationsPage.tsx
+++ b/src/Faction/ui/AugmentationsPage.tsx
@@ -6,7 +6,7 @@ import React, { useState } from "react";
import { getGenericAugmentationPriceMultiplier } from "../../Augmentation/AugmentationHelpers";
import { Augmentations } from "../../Augmentation/Augmentations";
import { AugmentationNames } from "../../Augmentation/data/AugmentationNames";
-import { PurchaseableAugmentations } from "../../Augmentation/ui/PurchaseableAugmentations";
+import { PurchasableAugmentations } from "../../Augmentation/ui/PurchasableAugmentations";
import { PurchaseAugmentationsOrderSetting } from "../../Settings/SettingEnums";
import { Settings } from "../../Settings/Settings";
import { use } from "../../ui/Context";
@@ -183,7 +183,7 @@ export function AugmentationsPage(props: IProps): React.ReactElement {
-
- aug.name)}
ownedAugNames={ownedAugNames}
player={player}