chore: rollback nextjs version

This commit is contained in:
DIYgod
2023-08-23 23:26:24 +01:00
parent 7efae2208e
commit d6dc49facf
4 changed files with 42 additions and 48 deletions
+1 -7
View File
@@ -1,6 +1,6 @@
"use client"
import dynamic from "next/dynamic"
import { ThemeProvider } from "next-themes"
import { useState } from "react"
import { WagmiConfig } from "wagmi"
@@ -23,12 +23,6 @@ import { toGateway } from "~/lib/ipfs-parser"
import { urlComposer } from "~/lib/url-composer"
import { LangProvider } from "~/providers/LangProvider"
// https://github.com/vercel/next.js/discussions/22388#discussioncomment-6329930
const ThemeProvider = dynamic(
() => import("~/components/common/ThemeProvider"),
{ ssr: false },
)
const wagmiConfig = createWagmiConfig({
appName: APP_NAME,
// You can create or find it at https://cloud.walletconnect.com
-3
View File
@@ -1,3 +0,0 @@
import { ThemeProvider } from "next-themes"
export default ThemeProvider