summaryrefslogtreecommitdiffstats
path: root/stepped-solutions/05/frontend/pages/_app.js
blob: 98af72695a3fe66b59b4d993e093376eab5944a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import App, { Container } from 'next/app';
import Page from '../components/Page';

class MyApp extends App {
  render() {
    const { Component } = this.props;

    return (
      <Container>
        <Page>
          <Component />
        </Page>
      </Container>
    );
  }
}

export default MyApp;