Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* imports */
- class MyApp extends App {
- render() {
- const {Component, pageProps} = this.props
- return (
- <Container>
- <Page>
- <Component {...pageProps} />
- </Page>
- </Container>
- )
- }
- }
- // use the PageWrapper only once!
- export default PageWrapper(MyApp)
Add Comment
Please, Sign In to add comment