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

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

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