mirror of
https://github.com/kou029w/_.git
synced 2025-01-31 06:18:07 +00:00
duplicatedなので
This commit is contained in:
parent
27b66b1631
commit
a27ea730b9
1 changed files with 4 additions and 6 deletions
|
@ -1,16 +1,14 @@
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import App, { Container } from "next/app";
|
import App from "next/app";
|
||||||
import MainTheme from "../styles/MainTheme";
|
import MainTheme from "../styles/MainTheme";
|
||||||
|
|
||||||
export default class extends App {
|
export default class extends App {
|
||||||
render() {
|
render() {
|
||||||
const { Component, pageProps } = this.props;
|
const { Component, pageProps } = this.props;
|
||||||
return (
|
return (
|
||||||
<Container>
|
<MainTheme>
|
||||||
<MainTheme>
|
<Component {...pageProps} />
|
||||||
<Component {...pageProps} />
|
</MainTheme>
|
||||||
</MainTheme>
|
|
||||||
</Container>
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue