Skip to content

Commit

Permalink
remove unneeded imports
Browse files Browse the repository at this point in the history
  • Loading branch information
suejinkim20 committed Jul 26, 2024
1 parent a8713fc commit b2e51dd
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 26 deletions.
20 changes: 1 addition & 19 deletions src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@ import {
MarkdownView,
NotFoundView,
RegistrationView,
SpeakersView,
TravelView,
FaqsView,
AgendaView
} from './views'

import { Header, Footer } from '@components/layout'
Expand All @@ -26,11 +23,6 @@ const menuOptions = [
label: 'Registration',
view: <RegistrationView />,
},
// {
// path: '/agenda',
// label: 'Agenda',
// view: <AgendaView />,
// },
{
path: '/travel',
label: 'Travel Info',
Expand All @@ -40,17 +32,7 @@ const menuOptions = [
path: '/cfa',
label: 'Calls for Action',
view: <CfaView />,
},
// {
// path: '/speakers',
// label: 'Speakers',
// view: <SpeakersView />,
// },
// {
// path: '/faqs',
// label: 'FAQs',
// view: <FaqsView />,
// },
}
]

//
Expand Down
3 changes: 1 addition & 2 deletions src/components/layout/footer.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import { Divider, List, ListItem, Sheet, Stack, Typography } from '@mui/joy'
import { List, ListItem, Sheet, Stack, Typography } from '@mui/joy'
import { KnitLogo } from '@components/brand'
import { Link } from '@components/link'
import {
Container,
SIZES,
} from '@components/layout'

export const Footer = () => {
Expand Down
1 change: 0 additions & 1 deletion src/components/link/link.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { Fragment } from 'react'
import PropTypes from 'prop-types'
import { Link as ReactLink } from 'react-router-dom'
import { NavLink as ReactNavLink } from 'react-router-dom'
Expand Down
5 changes: 2 additions & 3 deletions src/components/markdown/button.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import { Button } from '@mui/joy'
import { Link } from '@components/link'
import { ExternalLinkIcon } from '../link'
/* eslint-disable-next-line no-unused-vars */
export const button = ({ node, linkto, children }) => {

export const button = ({ linkto, children }) => {
if (typeof children !== 'string') {
return <Button>{ children }</Button>
}
Expand Down
1 change: 0 additions & 1 deletion src/components/menu/drawer-menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { Fragment, useState } from 'react'
import { Box, Divider, Drawer, IconButton, ModalClose, Stack } from '@mui/joy'
import { Menu as MenuIcon } from 'react-feather'
import { Link } from '@components/link'
import { KnitLogo } from '@components/brand'
import { menuPropTypes } from './menu'
import numberlessKnitLogo from '@images/knit-logo-numberless-dark.png'

Expand Down

0 comments on commit b2e51dd

Please sign in to comment.