From 657832e0e044681fcd22b0ebb7aa8dcdd320c3fe Mon Sep 17 00:00:00 2001 From: Roman Timashev Date: Wed, 12 Feb 2020 23:35:31 +0300 Subject: [PATCH] _app fixed and updated - rm warning - simplifyed --- pages/_app.tsx | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/pages/_app.tsx b/pages/_app.tsx index 0bc414c2..5e4a1014 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -1,12 +1,11 @@ -import React from 'react' -import App, { Container } from 'next/app' +import App from 'next/app' -class MyApp extends App { +export default class MyApp extends App { render() { const { Component, pageProps } = this.props return ( - + <> - + ) } } - -export default MyApp \ No newline at end of file