CODEBASE: Fix typo of "CorruptableText" (#2144)

This commit is contained in:
catloversg
2025-05-20 10:07:09 +07:00
committed by GitHub
parent 24b31975e7
commit 197e7f79cb
10 changed files with 22 additions and 22 deletions
+2 -2
View File
@@ -24,7 +24,7 @@ import { LocationType } from "@enums";
import { isBackdoorInstalled } from "../../Server/ServerHelpers";
import { GetServer } from "../../Server/AllServers";
import { CorruptableText } from "../../ui/React/CorruptableText";
import { CorruptibleText } from "../../ui/React/CorruptibleText";
import { Router } from "../../ui/GameRoot";
import { Page } from "../../ui/Router";
import { serverMetadata } from "../../Server/data/servers";
@@ -118,7 +118,7 @@ export function GenericLocation({ location, showBackButton }: IProps): React.Rea
{backdoorInstalled && serverMeta ? (
<Tooltip title={`Backdoor installed on ${serverMeta.hostname}.`}>
<span>
<CorruptableText content={location.name} spoiler={false} />
<CorruptibleText content={location.name} spoiler={false} />
</span>
</Tooltip>
) : (
+2 -2
View File
@@ -29,7 +29,7 @@ import { SnackbarEvents } from "../../ui/React/Snackbar";
import { N00dles } from "../../utils/helpers/N00dles";
import { Exploit } from "../../Exploits/Exploit";
import { applyAugmentation } from "../../Augmentation/AugmentationHelpers";
import { CorruptableText } from "../../ui/React/CorruptableText";
import { CorruptibleText } from "../../ui/React/CorruptibleText";
import { HacknetNode } from "../../Hacknet/HacknetNode";
import { HacknetServer } from "../../Hacknet/HacknetServer";
import { GetServer } from "../../Server/AllServers";
@@ -329,7 +329,7 @@ export function SpecialLocation(props: SpecialLocationProps): React.ReactElement
return (
<>
<Typography>
<CorruptableText content={"An eerie aura surrounds this area. You feel you should leave."} spoiler={false} />
<CorruptibleText content={"An eerie aura surrounds this area. You feel you should leave."} spoiler={false} />
</Typography>
</>
);