Skip to content

Commit 64f8108

Browse files
committed
Formatting
1 parent 7b50658 commit 64f8108

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

site/pages/_app.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@ import { makeStyles } from "@material-ui/core"
99
import { Navbar } from "../components/Navbar"
1010
import { Footer } from "../components/Page"
1111

12+
/**
13+
* `Contents` is the wrapper around the core app UI,
14+
* containing common UI elements like the footer and navbar.
15+
*
16+
* This can't be inlined in `MyApp` because it requires styling,
17+
* and `useStyles` needs to be inside a `<ThemeProvider />`
18+
*/
1219
const Contents: React.FC<AppProps> = ({ Component, pageProps }) => {
1320
const styles = useStyles()
1421

0 commit comments

Comments
 (0)