расчехлили амо и шаблоны

This commit is contained in:
Nastya 2024-08-14 19:05:30 +03:00
parent 6a7063fe0c
commit 39ae777a63
2 changed files with 27 additions and 32 deletions

@ -59,8 +59,6 @@ export const PartnersBoard: FC<PartnersBoardProps> = ({
}} }}
> >
<Box> <Box>
{
user.user._id === "6694dc24d5802e9f13662a7e" &&
<> <>
<Typography <Typography
variant="h6" variant="h6"
@ -87,7 +85,6 @@ export const PartnersBoard: FC<PartnersBoardProps> = ({
/> />
</Box> </Box>
</> </>
}
<Typography <Typography
variant="h6" variant="h6"

@ -21,8 +21,6 @@ export default function CreateButtons({ mt }: string) {
marginTop: mt, marginTop: mt,
}} }}
> >
{
user.user._id === "6694dc24d5802e9f13662a7e" &&
<Link to="/gallery" style={{ textDecoration: "none" }}> <Link to="/gallery" style={{ textDecoration: "none" }}>
<Button <Button
sx={{ sx={{
@ -45,7 +43,7 @@ export default function CreateButtons({ mt }: string) {
</Button> </Button>
</Link> </Link>
}
<Button <Button
variant="contained" variant="contained"
sx={{ sx={{