Skip to content

Commit

Permalink
Clean up imports (orcasound#37)
Browse files Browse the repository at this point in the history
- Remove unused
- Group `mui/material`
  • Loading branch information
paulcretu authored Feb 1, 2022
1 parent 7102cb1 commit 8296df0
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 21 deletions.
8 changes: 1 addition & 7 deletions src/components/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,8 @@ import LinkedInIcon from '@mui/icons-material/LinkedIn'
import NotificationsIcon from '@mui/icons-material/Notifications'
import TwitterIcon from '@mui/icons-material/Twitter'
import YouTubeIcon from '@mui/icons-material/YouTube'
import { styled } from '@mui/material'
import AppBar from '@mui/material/AppBar'
import Box from '@mui/material/Box'
import Button from '@mui/material/Button'
import Toolbar from '@mui/material/Toolbar'
import Typography from '@mui/material/Typography'
import { AppBar, Box, Button, styled, Toolbar, Typography } from '@mui/material'
import Link from 'next/link'
import * as React from 'react'

import useCheckMobileScreen from '../utils/useCheckMobileScreen'

Expand Down
24 changes: 13 additions & 11 deletions src/components/Nav.jsx
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
import MenuIcon from '@mui/icons-material/Menu'
import NotificationsIcon from '@mui/icons-material/Notifications'
import AppBar from '@mui/material/AppBar'
import Box from '@mui/material/Box'
import Button from '@mui/material/Button'
import Container from '@mui/material/Container'
import IconButton from '@mui/material/IconButton'
import Menu from '@mui/material/Menu'
import MenuItem from '@mui/material/MenuItem'
import Toolbar from '@mui/material/Toolbar'
import Typography from '@mui/material/Typography'
import {
AppBar,
Box,
Button,
Container,
IconButton,
Menu,
MenuItem,
Toolbar,
Typography,
} from '@mui/material'
import Image from 'next/image'
import Link from 'next/link'
import * as React from 'react'
import { useState } from 'react'

import orcasoundlogo from '../../public/images/orcasoundlogo.png'

Expand Down Expand Up @@ -39,7 +41,7 @@ const navLinks = [
]

const Nav = () => {
const [anchorElNav, setAnchorElNav] = React.useState(null)
const [anchorElNav, setAnchorElNav] = useState(null)

const handleOpenNavMenu = (event) => {
setAnchorElNav(event.currentTarget)
Expand Down
1 change: 0 additions & 1 deletion src/pages/_app.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { CacheProvider } from '@emotion/react'
import CssBaseline from '@mui/material/CssBaseline'
import { ThemeProvider } from '@mui/material/styles'
import Head from 'next/head'
import React from 'react'

import Layout from '../components/Layout'
import theme from '../styles/theme'
Expand Down
1 change: 0 additions & 1 deletion src/pages/_document.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import createEmotionServer from '@emotion/server/create-instance'
import Document, { Head, Html, Main, NextScript } from 'next/document'
import * as React from 'react'

import theme from '../styles/theme'
import createEmotionCache from '../utils/createEmotionCache'
Expand Down
1 change: 0 additions & 1 deletion src/pages/learn.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import Head from 'next/head'
import Image from 'next/image'
import Link from 'next/link'
import ReactAudioPlayer from 'react-audio-player'

import audio from '../../public/audio/frequency.mp3'
Expand Down

0 comments on commit 8296df0

Please sign in to comment.