2022-11-30 10:36:59 +00:00
|
|
|
import type { AppProps } from "next/app";
|
2022-12-05 08:57:06 +00:00
|
|
|
import React from "react";
|
2022-12-14 15:39:51 +00:00
|
|
|
import ErrorBoundary from "../components/error-boundary";
|
2022-12-05 08:57:06 +00:00
|
|
|
|
|
|
|
import { GlobalStyle } from "../styles/global";
|
2022-11-30 08:11:45 +00:00
|
|
|
|
|
|
|
export default function App({ Component, pageProps }: AppProps) {
|
2022-12-05 08:57:06 +00:00
|
|
|
return (
|
|
|
|
<React.Fragment>
|
|
|
|
<GlobalStyle />
|
2022-12-14 15:39:51 +00:00
|
|
|
<ErrorBoundary>
|
|
|
|
<Component {...pageProps} />
|
|
|
|
</ErrorBoundary>
|
2022-12-05 08:57:06 +00:00
|
|
|
</React.Fragment>
|
|
|
|
);
|
2022-11-30 08:11:45 +00:00
|
|
|
}
|