From 50c27941a20f83a67ff9a266c6b1381037359c24 Mon Sep 17 00:00:00 2001 From: Pavel Mineev Date: Tue, 8 Jun 2021 18:39:11 +0300 Subject: [PATCH] fix: move viewport meta tag to head in _app.js --- examples/with-next-page-transitions/pages/_app.js | 4 ++++ examples/with-next-page-transitions/pages/_document.js | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/with-next-page-transitions/pages/_app.js b/examples/with-next-page-transitions/pages/_app.js index 9c9459f5e252b..8879b5d2201f1 100644 --- a/examples/with-next-page-transitions/pages/_app.js +++ b/examples/with-next-page-transitions/pages/_app.js @@ -1,3 +1,4 @@ +import Head from 'next/head' import { PageTransition } from 'next-page-transitions' import Loader from '../components/Loader' @@ -7,6 +8,9 @@ const TIMEOUT = 400 function MyApp({ Component, pageProps }) { return ( <> + + + -