diff --git a/examples/form-handler/pages/_app.js b/examples/form-handler/pages/_app.js index 9bcfcc2cab0d3..a867a38df781c 100644 --- a/examples/form-handler/pages/_app.js +++ b/examples/form-handler/pages/_app.js @@ -1,4 +1,4 @@ -import App, { Container } from 'next/app' +import App from 'next/app' import React from 'react' import { Provider } from 'react-redux' import withRedux from 'next-redux-wrapper' @@ -18,11 +18,9 @@ class MyApp extends App { render () { const { Component, pageProps, store } = this.props return ( - - - - - + + + ) } } diff --git a/examples/with-antd-mobile/pages/_app.js b/examples/with-antd-mobile/pages/_app.js index 7034c0f28678f..2b211a971c4a3 100644 --- a/examples/with-antd-mobile/pages/_app.js +++ b/examples/with-antd-mobile/pages/_app.js @@ -1,12 +1,12 @@ import React from 'react' -import App, { Container } from 'next/app' +import App from 'next/app' import Head from 'next/head' export default class CustomApp extends App { render () { const { Component, pageProps } = this.props return ( - + <> - + ) } } diff --git a/examples/with-apollo-and-redux-saga/pages/_app.js b/examples/with-apollo-and-redux-saga/pages/_app.js index 6c417ad5869ba..813652edb1988 100644 --- a/examples/with-apollo-and-redux-saga/pages/_app.js +++ b/examples/with-apollo-and-redux-saga/pages/_app.js @@ -1,4 +1,4 @@ -import App, { Container } from 'next/app' +import App from 'next/app' import React from 'react' import { Provider } from 'react-redux' import withRedux from 'next-redux-wrapper' @@ -20,11 +20,9 @@ class MyApp extends App { render () { const { Component, pageProps, store } = this.props return ( - - - - - + + + ) } } diff --git a/examples/with-apollo-and-redux/pages/_app.js b/examples/with-apollo-and-redux/pages/_app.js index 3aa80de842bda..4b61ddd7a2a9a 100644 --- a/examples/with-apollo-and-redux/pages/_app.js +++ b/examples/with-apollo-and-redux/pages/_app.js @@ -1,4 +1,4 @@ -import App, { Container } from 'next/app' +import App from 'next/app' import React from 'react' import { Provider } from 'react-redux' import withRedux from 'next-redux-wrapper' @@ -18,11 +18,9 @@ class MyApp extends App { render () { const { Component, pageProps, store } = this.props return ( - - - - - + + + ) } } diff --git a/examples/with-apollo-auth/pages/_app.js b/examples/with-apollo-auth/pages/_app.js index 9c8a3eb8160fd..23e4c0f12c4b8 100644 --- a/examples/with-apollo-auth/pages/_app.js +++ b/examples/with-apollo-auth/pages/_app.js @@ -1,4 +1,4 @@ -import App, { Container } from 'next/app' +import App from 'next/app' import React from 'react' import { ApolloProvider } from 'react-apollo' import withApollo from '../lib/withApollo' @@ -7,11 +7,9 @@ class MyApp extends App { render () { const { Component, pageProps, apolloClient } = this.props return ( - - - - - + + + ) } } diff --git a/examples/with-apollo/pages/_app.js b/examples/with-apollo/pages/_app.js index 939582cdb37e0..11338d973b2d6 100644 --- a/examples/with-apollo/pages/_app.js +++ b/examples/with-apollo/pages/_app.js @@ -1,4 +1,4 @@ -import App, { Container } from 'next/app' +import App from 'next/app' import React from 'react' import withApolloClient from '../lib/with-apollo-client' import { ApolloProvider } from 'react-apollo' @@ -7,11 +7,9 @@ class MyApp extends App { render () { const { Component, pageProps, apolloClient } = this.props return ( - - - - - + + + ) } } diff --git a/examples/with-app-layout/pages/_app.js b/examples/with-app-layout/pages/_app.js index eb4ec4749ff13..f950555da6c2e 100644 --- a/examples/with-app-layout/pages/_app.js +++ b/examples/with-app-layout/pages/_app.js @@ -1,5 +1,5 @@ import React from 'react' -import App, { Container } from 'next/app' +import App from 'next/app' class Layout extends React.Component { render () { @@ -12,11 +12,9 @@ export default class MyApp extends App { render () { const { Component, pageProps } = this.props return ( - - - - - + + + ) } } diff --git a/examples/with-context-api/pages/_app.js b/examples/with-context-api/pages/_app.js index 06f4901ee8789..6c91c12157541 100644 --- a/examples/with-context-api/pages/_app.js +++ b/examples/with-context-api/pages/_app.js @@ -1,4 +1,4 @@ -import App, { Container } from 'next/app' +import App from 'next/app' /* First we import our provider */ import CounterProvider from '../components/CounterProvider' @@ -6,12 +6,10 @@ class MyApp extends App { render () { const { Component, pageProps } = this.props return ( - - {/* Then we wrap our components with the provider */} - - - - + /* Then we wrap our components with the provider */ + + + ) } } diff --git a/examples/with-fela/pages/_app.js b/examples/with-fela/pages/_app.js index 87949711ea219..ac57c53cfda32 100644 --- a/examples/with-fela/pages/_app.js +++ b/examples/with-fela/pages/_app.js @@ -1,4 +1,4 @@ -import App, { Container } from 'next/app' +import App from 'next/app' import React from 'react' import FelaProvider from '../FelaProvider' @@ -16,11 +16,9 @@ export default class MyApp extends App { render () { const { Component, pageProps, renderer } = this.props return ( - - - - - + + + ) } } diff --git a/examples/with-flow/pages/_app.js b/examples/with-flow/pages/_app.js index f06d244e4d116..c9bce6f84547f 100644 --- a/examples/with-flow/pages/_app.js +++ b/examples/with-flow/pages/_app.js @@ -1,4 +1,4 @@ -import App, { Container } from 'next/app' +import App from 'next/app' import Link from 'next/link' import React from 'react' @@ -16,7 +16,7 @@ export default class MyApp extends App { render () { const { Component, pageProps } = this.props return ( - + <>