added new packages
This commit is contained in:
@@ -1,9 +1,16 @@
|
||||
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 <Component {...pageProps} />;
|
||||
return (
|
||||
<RootLayout>
|
||||
<Toaster position="top-center" />
|
||||
<Component {...pageProps} />
|
||||
</RootLayout>
|
||||
);
|
||||
};
|
||||
|
||||
export default MyApp;
|
||||
|
||||
Reference in New Issue
Block a user