0
0
mirror of https://github.com/yude-jp/yude.jp synced 2025-07-01 09:12:40 +09:00
yude.jp/pages/_app.js
yudejp efaf3180f6
Revert "Using "tailwind-darkmode-toggle" instead of "next-themes""
This reverts commit 37e1a5fca799611915372988f40aee5c132efca5.
2021-05-22 10:12:17 +09:00

12 lines
258 B
JavaScript

import 'tailwindcss/tailwind.css';
import { ThemeProvider } from "next-themes";
function MyApp({ Component, pageProps }) {
return (
<ThemeProvider attribute="class">
<Component {...pageProps} />
</ThemeProvider>
);
}
export default MyApp;