mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-23 17:53:00 +02:00
build dev
This commit is contained in:
@@ -22,7 +22,7 @@ import { use } from "../../ui/Context";
|
||||
import { CreateGangPopup } from "./CreateGangPopup";
|
||||
|
||||
type IProps = {
|
||||
faction: Faction | null;
|
||||
faction: Faction;
|
||||
startHackingMissionFn: (faction: Faction) => void;
|
||||
};
|
||||
|
||||
@@ -65,7 +65,6 @@ const GangNames = [
|
||||
|
||||
export function FactionRoot(props: IProps): React.ReactElement {
|
||||
const faction = props.faction;
|
||||
if (faction === null) throw new Error("Trying to render the Faction page with null faction");
|
||||
|
||||
const player = use.Player();
|
||||
const router = use.Router();
|
||||
|
||||
Reference in New Issue
Block a user