17 lines
396 B
TypeScript
17 lines
396 B
TypeScript
import { type AppType } from "next/dist/shared/lib/utils";
|
|
import { Toaster } from "react-hot-toast";
|
|
import { RootLayout } from "~/components/RootLayout";
|
|
|
|
import "~/styles/globals.css";
|
|
|
|
const MyApp: AppType = ({ Component, pageProps }) => {
|
|
return (
|
|
<RootLayout>
|
|
<Toaster position="top-center" />
|
|
<Component {...pageProps} />
|
|
</RootLayout>
|
|
);
|
|
};
|
|
|
|
export default MyApp;
|