Created
February 14, 2019 19:06
-
-
Save bietkul/3e1c7838fb533da1f7cc1a2ae02926ab to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React from 'react'; | |
| import App, { Container } from 'next/app'; | |
| import OfflineSupport from '../components/OfflineSupport'; | |
| class CustomApp extends App { | |
| render() { | |
| const { Component, pageProps } = this.props; | |
| return ( | |
| <Container> | |
| <OfflineSupport /> | |
| <Component {...pageProps} /> | |
| </Container> | |
| ); | |
| } | |
| } | |
| export default CustomApp; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment