2022-11-11 21:39:28 +01:00
|
|
|
import "../styles/globals.css";
|
|
|
|
import Head from "next/head";
|
|
|
|
import { AppProps } from "next/app";
|
2022-12-08 04:25:26 +01:00
|
|
|
import { useEffect } from "react";
|
|
|
|
import { themeChange } from "theme-change";
|
2023-03-31 12:33:48 +02:00
|
|
|
import log from "electron-log/renderer";
|
2023-04-08 08:53:32 +02:00
|
|
|
import { Provider } from "jotai";
|
2022-11-11 21:39:28 +01:00
|
|
|
|
|
|
|
const MyApp = ({ Component, pageProps }: AppProps) => {
|
|
|
|
return (
|
2022-12-08 04:25:26 +01:00
|
|
|
<>
|
2022-11-11 21:39:28 +01:00
|
|
|
<Head>
|
|
|
|
<title>Upscayl</title>
|
|
|
|
</Head>
|
2023-04-08 08:53:32 +02:00
|
|
|
<Provider>
|
|
|
|
<Component {...pageProps} data-theme="dark" />
|
|
|
|
</Provider>
|
2022-12-08 04:25:26 +01:00
|
|
|
</>
|
2022-11-11 21:39:28 +01:00
|
|
|
);
|
|
|
|
};
|
|
|
|
|
|
|
|
export default MyApp;
|