Keep React in scope
This commit is contained in:
parent
7a41ba43a5
commit
56d500f4e8
2 changed files with 7 additions and 5 deletions
|
@ -1,7 +1,9 @@
|
|||
import { Container } from "components/Container";
|
||||
import S from "utils/strings";
|
||||
import React from "react";
|
||||
import S from "utils/strings";
|
||||
|
||||
export default function Home() {
|
||||
const Page: React.FC = () => {
|
||||
return <Container>{S.error_404}</Container>;
|
||||
}
|
||||
};
|
||||
|
||||
export default Page;
|
||||
|
|
|
@ -4,7 +4,7 @@ import React from "react";
|
|||
import S from "utils/strings";
|
||||
import "../styles/globals.css";
|
||||
|
||||
function MyApp({ Component, pageProps }: AppProps) {
|
||||
const MyApp = ({ Component, pageProps }: AppProps): React.JSX.Element => {
|
||||
return (
|
||||
<>
|
||||
<Head>
|
||||
|
@ -13,6 +13,6 @@ function MyApp({ Component, pageProps }: AppProps) {
|
|||
<Component {...pageProps} />
|
||||
</>
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
export default MyApp;
|
||||
|
|
Loading…
Reference in a new issue