Skip to content

Commit c0ae9f6

Browse files
author
Alex Patterson
authored
Merge pull request #2 from CodenameCookie/08-Book-Page
Update _app.tsx - App Container Deprecated
2 parents 1798d7e + 0f54d5b commit c0ae9f6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pages/_app.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import CssBaseline from '@material-ui/core/CssBaseline';
22
import Grid from '@material-ui/core/Grid';
33
import { ThemeProvider } from '@material-ui/styles';
4-
import App, { Container } from 'next/app';
4+
import App from 'next/app';
55
import Head from 'next/head';
66
import React from 'react';
77

@@ -21,7 +21,7 @@ class MyApp extends App {
2121
const { Component, pageProps } = this.props;
2222

2323
return (
24-
<Container>
24+
<>
2525
<Head>
2626
<title>AJ' Books</title>
2727
</Head>
@@ -33,7 +33,7 @@ class MyApp extends App {
3333
<Component {...pageProps} />
3434
</Grid>
3535
</ThemeProvider>
36-
</Container>
36+
</>
3737
);
3838
}
3939
}

0 commit comments

Comments
 (0)