icns-frontend/pages/_app.tsx

17 lines
408 B
TypeScript
Raw Normal View History

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