Skip to content

Commit

Permalink
Fix some error
Browse files Browse the repository at this point in the history
  • Loading branch information
sivayogasubramanian committed Oct 26, 2022
1 parent 785081e commit 8caa35d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 5 additions & 0 deletions frontend/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { LocalizationProvider } from '@mui/x-date-pickers/LocalizationProvider';
import { getAnalytics, isSupported } from 'firebase/analytics';
import { initializeApp } from 'firebase/app';
import type { AppProps } from 'next/app';
import Head from 'next/head';
import { SnackbarProvider } from 'notistack';
import { useCallback } from 'react';
import NavBar from '../components/navigation/Navbar';
Expand Down Expand Up @@ -36,6 +37,10 @@ function MyApp({ Component, pageProps }: AppProps) {
<LocalizationProvider dateAdapter={AdapterMoment}>
<SnackbarProvider maxSnack={3}>
<AxiosInterceptor>
<Head>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
</Head>

<NavBar />

<Component {...pageProps} />
Expand Down
1 change: 0 additions & 1 deletion frontend/pages/_document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ export default function Document() {
<Html lang="en">
<Head>
<link rel="icon" href={`${PUBLIC_URL}/favicon.ico`} />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="theme-color" content="#000000" />
<meta property="og:title" content="Giving Coupons" />
<meta property="og:type" content="website" />
Expand Down

0 comments on commit 8caa35d

Please sign in to comment.