Update FactionRoot.tsx

Run Prettier

Manually fixed trailing space for lint test
This commit is contained in:
borisflagell 2022-04-21 18:51:04 +02:00
parent e05617d9d3
commit 421e7b8c74

@ -128,18 +128,18 @@ function MainPage({ faction, rerender, onAugmentations }: IMainProps): React.Rea
{isManageGangVisible && ( {isManageGangVisible && (
<> <>
<Box> <Box>
<Paper sx={{ my: 1, p: 1 }}> <Paper sx={{ my: 1, p: 1 }}>
<Tooltip <Tooltip
title={ title={!isManageGangClickable ? <Typography>Unlocked when reaching -54000 karma</Typography> : ""}
!isManageGangClickable ? <Typography>Unlocked when reaching -54000 karma</Typography> : "" >
} <span>
> <Button onClick={manageGang} disabled={!isManageGangClickable}>
<span> {"Manage Gang"}
<Button onClick={manageGang} disabled={!isManageGangClickable}>{"Manage Gang"}</Button> </Button>
<Typography>{gangInfo}</Typography> <Typography>{gangInfo}</Typography>
</span> </span>
</Tooltip> </Tooltip>
</Paper> </Paper>
</Box> </Box>
<CreateGangModal facName={faction.name} open={gangOpen} onClose={() => setGangOpen(false)} /> <CreateGangModal facName={faction.name} open={gangOpen} onClose={() => setGangOpen(false)} />