diff options
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/Desktop.tsx | 2 | ||||
-rw-r--r-- | src/components/Mobile.tsx | 2 | ||||
-rw-r--r-- | src/components/pages.ts | 8 |
3 files changed, 2 insertions, 10 deletions
diff --git a/src/components/Desktop.tsx b/src/components/Desktop.tsx index 98cc1dd..35ddc5e 100644 --- a/src/components/Desktop.tsx +++ b/src/components/Desktop.tsx @@ -5,7 +5,7 @@ import DarkModeIcon from '@mui/icons-material/DarkMode'; import LightModeIcon from '@mui/icons-material/LightMode'; import { useTheme } from '@mui/material/styles'; import { ThemeContext } from '../ThemeContextProvider'; -import pages from './pages'; +import pages from '../pages'; function Desktop() { const theme = useTheme(); diff --git a/src/components/Mobile.tsx b/src/components/Mobile.tsx index 02ec354..6c95295 100644 --- a/src/components/Mobile.tsx +++ b/src/components/Mobile.tsx @@ -7,7 +7,7 @@ import LightModeIcon from '@mui/icons-material/LightMode'; import { useTheme } from '@mui/material/styles'; import { ThemeContext } from '../ThemeContextProvider'; import MenuIcon from '@mui/icons-material/Menu'; -import pages from './pages'; +import pages from '../pages'; function Mobile() { const [anchorEl, setAnchorEl] = useState<null | HTMLElement>(null); diff --git a/src/components/pages.ts b/src/components/pages.ts deleted file mode 100644 index ce1d29e..0000000 --- a/src/components/pages.ts +++ /dev/null @@ -1,8 +0,0 @@ -const pages = [ - { name: 'Schedule', to: '/schedule'}, - { name: 'RSVP', to: '/guest-login' }, - { name: 'Registry', to: '/registry' }, - { name: 'Admin', to: '/admin' } -]; - -export default pages; |