Merge branch 'dev' into issues/2308

This commit is contained in:
hydroflame
2022-03-20 14:22:32 -04:00
committed by GitHub
69 changed files with 1851 additions and 1883 deletions
+2 -1
View File
@@ -7,6 +7,7 @@ import { use } from "../../ui/Context";
import Typography from "@mui/material/Typography";
import Button from "@mui/material/Button";
import { KEY } from "../../utils/helpers/keyCodes";
import { FactionNames } from "../data/FactionNames";
interface IProps {
open: boolean;
@@ -28,7 +29,7 @@ export function CreateGangModal(props: IProps): React.ReactElement {
"is not as important.";
function isHacking(): boolean {
return ["NiteSec", "The Black Hand"].includes(props.facName);
return [FactionNames.NiteSec as string, FactionNames.TheBlackHand as string].includes(props.facName);
}
function createGang(): void {