a74e168d97
This reverts commit fbbaf08513
.
27 lines
597 B
TypeScript
27 lines
597 B
TypeScript
import type { AppProps } from 'next/app'
|
|
import useGtag from '../hooks/useGtag'
|
|
import Head from 'next/head'
|
|
import './styles.css'
|
|
|
|
function MyApp({ Component, pageProps }: AppProps): JSX.Element {
|
|
useGtag()
|
|
|
|
return (
|
|
<>
|
|
<Head>
|
|
<title>tldraw</title>
|
|
<meta
|
|
name="viewport"
|
|
content="minimum-scale=1, initial-scale=1, width=device-width, shrink-to-fit=no, user-scalable=no, viewport-fit=cover"
|
|
/>
|
|
</Head>
|
|
<div>
|
|
<main>
|
|
<Component {...pageProps} />
|
|
</main>
|
|
</div>
|
|
</>
|
|
)
|
|
}
|
|
|
|
export default MyApp
|