ripped out mantine, replaced with chakra
This commit is contained in:
@@ -2,8 +2,7 @@ import { type Session } from "next-auth";
|
||||
import { SessionProvider } from "next-auth/react";
|
||||
import { type AppType } from "next/app";
|
||||
import { api } from "~/utils/api";
|
||||
import { MantineProvider } from "@mantine/core";
|
||||
import { Notifications } from "@mantine/notifications";
|
||||
import { ChakraProvider } from "@chakra-ui/react";
|
||||
|
||||
const MyApp: AppType<{ session: Session | null }> = ({
|
||||
Component,
|
||||
@@ -11,10 +10,9 @@ const MyApp: AppType<{ session: Session | null }> = ({
|
||||
}) => {
|
||||
return (
|
||||
<SessionProvider session={session}>
|
||||
<MantineProvider withGlobalStyles withNormalizeCSS>
|
||||
<Notifications position="bottom-center" />
|
||||
<ChakraProvider>
|
||||
<Component {...pageProps} />
|
||||
</MantineProvider>
|
||||
</ChakraProvider>
|
||||
</SessionProvider>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user