Update src/Faction/ui/FactionRoot.tsx

Co-authored-by: ApamNapat <ApamNapat@users.noreply.github.com>
This commit is contained in:
Jack 2022-03-09 22:49:50 +08:00 committed by GitHub
parent de0b0f9fa9
commit 2f40906d4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -191,7 +191,7 @@ export function FactionRoot(props: IProps): React.ReactElement {
if (player && !player.factions.includes(faction.name)) {
return <>
<Typography variant="h4" color="primary">
Sorry, You have not joined the faction {faction.name} yet!
You have not joined {faction.name} yet!
</Typography>
<Button onClick={() => router.toFactions()}>Back to Factions</Button>
</>