Skip to content

Commit

Permalink
fix build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardoliron committed Jul 15, 2023
1 parent a6b3b37 commit 1c7e150
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions src/routes/FoodOfTheMonth.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
import type { FoodList, FoodCategory, FoodObject } from "../types/food";
import { ChangeEvent, useState, useEffect } from "react";
import { useState, useEffect } from "react";
import { useParams, Link, useNavigate } from "react-router-dom";
import {
Box,
Tab,
Tabs,
styled,
alpha,
Badge,
BadgeProps,
Chip,
Typography,
Stack,
Expand Down Expand Up @@ -83,7 +81,7 @@ export default function FoodOfTheMonth({ food }: { food: FoodList }) {
</Stack>
<Tabs
value={foodType}
onChange={(e, value) => handleChange(value)}
onChange={(_, value) => handleChange(value)}
variant="fullWidth"
sx={{ fontWeight: 700 }}
aria-label="tabs for the selection of fruits, vegetables or others"
Expand Down
2 changes: 1 addition & 1 deletion src/routes/FoodPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { FoodList } from "../types/food";
import { currentMonth } from "../utils/utils";
import { useParams, useNavigate, Link } from "react-router-dom";
import { useEffect } from "react";
import { Box, Typography, Grid, Stack } from "@mui/material";
import { Box, Typography, Stack } from "@mui/material";
import { styled } from "@mui/material/styles";
import { useTranslation } from "react-i18next";

Expand Down

0 comments on commit 1c7e150

Please sign in to comment.