1
0
mirror of https://github.com/covidpass-org/covidpass.git synced 2025-02-23 06:57:40 +01:00
Evert Timberg 9fac4dbcc4 Add a polyfill for String.prototype.startsWith
This error appears in Sentry and is likely occuring in older browsers
2021-09-30 08:34:33 -04:00

23 lines
527 B
TypeScript

import 'tailwindcss/tailwind.css';
import {DefaultSeo} from 'next-seo';
import SEO from '../next-seo.config';
import type {AppProps} from 'next/app';
import {appWithTranslation} from 'next-i18next';
import 'string.prototype.startswith';
import { initSentry } from '../src/sentry';
initSentry();
function MyApp({Component, pageProps}: AppProps): JSX.Element {
return (
<>
<DefaultSeo {...SEO} />
<Component {...pageProps} />
</>
)
}
export default appWithTranslation(MyApp);