mirror of
https://github.com/upscayl/upscayl.git
synced 2025-02-19 04:04:38 +01:00
32 lines
829 B
TypeScript
32 lines
829 B
TypeScript
import "../styles/globals.css";
|
|
import Head from "next/head";
|
|
import { AppProps } from "next/app";
|
|
import { Provider } from "jotai";
|
|
import "react-tooltip/dist/react-tooltip.css";
|
|
import { Toaster } from "@/components/ui/toaster";
|
|
import { Tooltip } from "react-tooltip";
|
|
import PostHogProviderWrapper from "@/components/posthog-provider-wrapper";
|
|
|
|
const MyApp = ({ Component, pageProps }: AppProps) => {
|
|
return (
|
|
<>
|
|
<Head>
|
|
<title>Upscayl</title>
|
|
</Head>
|
|
|
|
<Provider>
|
|
<PostHogProviderWrapper>
|
|
<Component {...pageProps} data-theme="upscayl" />
|
|
<Toaster />
|
|
<Tooltip
|
|
className="z-[999] max-w-sm break-words !bg-secondary"
|
|
id="tooltip"
|
|
/>
|
|
</PostHogProviderWrapper>
|
|
</Provider>
|
|
</>
|
|
);
|
|
};
|
|
|
|
export default MyApp;
|