mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2025-02-17 02:22:23 +01:00
re-add back button from faction to factions
This commit is contained in:
@ -22,6 +22,7 @@ import { use } from "../../ui/Context";
|
|||||||
import { CreateGangPopup } from "./CreateGangPopup";
|
import { CreateGangPopup } from "./CreateGangPopup";
|
||||||
|
|
||||||
import Typography from "@mui/material/Typography";
|
import Typography from "@mui/material/Typography";
|
||||||
|
import Button from "@mui/material/Button";
|
||||||
|
|
||||||
type IProps = {
|
type IProps = {
|
||||||
faction: Faction;
|
faction: Faction;
|
||||||
@ -148,6 +149,7 @@ export function FactionRoot(props: IProps): React.ReactElement {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
|
<Button onClick={() => router.toFactions()}>Back</Button>
|
||||||
<Typography variant="h4" color="primary">
|
<Typography variant="h4" color="primary">
|
||||||
{faction.name}
|
{faction.name}
|
||||||
</Typography>
|
</Typography>
|
||||||
|
Reference in New Issue
Block a user