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