Skip to content

Commit 8283598

Browse files
author
gitgitWi
committed
Feat: app.js -> tsx로 변경
1 parent 4b799e7 commit 8283598

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

pages/_app.js

Lines changed: 0 additions & 7 deletions
This file was deleted.

pages/_app.tsx

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import { FunctionComponent } from "react";
2+
import "../styles/globals.css";
3+
4+
interface MyAppProps {
5+
Component: FunctionComponent;
6+
pageProps: any;
7+
}
8+
9+
function MyApp({ Component, pageProps }: MyAppProps) {
10+
return <Component {...pageProps} />;
11+
}
12+
13+
export default MyApp;

0 commit comments

Comments
 (0)