We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b50658 commit 64f8108Copy full SHA for 64f8108
site/pages/_app.tsx
@@ -9,6 +9,13 @@ import { makeStyles } from "@material-ui/core"
9
import { Navbar } from "../components/Navbar"
10
import { Footer } from "../components/Page"
11
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
+ */
19
const Contents: React.FC<AppProps> = ({ Component, pageProps }) => {
20
const styles = useStyles()
21
0 commit comments