Skip to content

Commit

Permalink
Merge pull request #75 from fuzue/69-text-is-repeated-in-foodpage-com…
Browse files Browse the repository at this point in the history
…ponent

69 text is repeated in foodpage component
  • Loading branch information
aivuk authored Aug 24, 2023
2 parents cd02e24 + 709af4c commit ece26e2
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/routes/FoodPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,14 +103,9 @@ export default function FoodPage() {
alt={`photo of ${image}`}
/>
</ImgBox>
<Stack px={2}>
<Typography
color={ seasonStatus === "FoodPage_inSeasonText" ? "primary.main" : "secondary.main"}>
{t(seasonStatus)}
</Typography>
<Stack px={2} sx={{ display: 'flex', flexDirection: 'column', justifyContent: 'space-between'}}>
<Typography
variant="h4"
mt="auto"
sx={{ fontWeight: 700 }}
color="secondary.main"
>
Expand Down

0 comments on commit ece26e2

Please sign in to comment.