Skip to content

Commit

Permalink
remove unneeded imports
Browse files Browse the repository at this point in the history
  • Loading branch information
suejinkim20 committed Nov 18, 2024
1 parent dad8cc9 commit 553df28
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 9 deletions.
3 changes: 1 addition & 2 deletions src/components/hero/eduhelxHero.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import * as React from "react";
import { Box, Typography } from "@mui/material";
import { useTheme } from "@mui/material/styles";
import { MaxWidthWrapper } from "../layout/maxWidthWrapper";
import { Link } from "../link";
import { Button } from "../button";
import EduHelxLogo from "../../images/eduhelx/EduHeLx-logo.png"
const BREAKPOINT = 750;

Expand Down Expand Up @@ -39,6 +37,7 @@ export const EduHelxHero = ({ content }) => {
>
Why Choose <img
src={EduHelxLogo}
alt="EduHeLx logo"
style={{maxWidth: '300px', verticalAlign: 'middle' }}
/><br/>
in Your Classroom?
Expand Down
1 change: 0 additions & 1 deletion src/components/layout/header.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ const Toggler = ({ active, clickHandler }) => {
}

const Menu = ({mainMenuLinks}) => {
const theme = useTheme()

return (
<Fragment>
Expand Down
4 changes: 1 addition & 3 deletions src/components/sections/illustrationTextSection.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import React from "react";
import { Typography, Box, Stack } from "@mui/material";
import { styled } from "@mui/system";
import { MaxWidthWrapper } from "../layout/maxWidthWrapper";
import { useTheme } from "@emotion/react";
import { Link } from "../link"

const AboutCard = styled(Box)(({ theme }) => ({
Expand Down Expand Up @@ -45,8 +44,7 @@ const TextItem = ({section}) => (
)


export const IllustrationTextSection = ({ content, left, backgroundColor, imageSize, sx }) => {
const theme = useTheme();
export const IllustrationTextSection = ({ content, left, backgroundColor, imageSize }) => {

return (
<MaxWidthWrapper
Expand Down
2 changes: 0 additions & 2 deletions src/components/sections/testimonials.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { MaxWidthWrapper } from "../layout/maxWidthWrapper"
import { Box, IconButton, Typography, Card, CardContent } from '@mui/material';
import styled from '@emotion/styled';
import { ArrowBack, ArrowForward } from '@mui/icons-material';
import { useTheme } from "@emotion/react";

const CarouselWrapper = styled(Box)({
display: 'flex',
Expand Down Expand Up @@ -70,7 +69,6 @@ const NavigationButton = styled(IconButton)({
});

export const TestimonialSection = ({ items }) => {
const theme = useTheme();

const [currentIndex, setCurrentIndex] = useState(0);

Expand Down
2 changes: 1 addition & 1 deletion src/pages/contact.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { MaxWidthWrapper } from "../components/layout/maxWidthWrapper";
import { GoogleReCaptchaProvider } from 'react-google-recaptcha-v3'
import { FeedbackForm } from '../components/feedback-form'

export const Contact = () => {
const Contact = () => {

return (
<GoogleReCaptchaProvider
Expand Down

0 comments on commit 553df28

Please sign in to comment.