chore: rollback nextjs version
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
import { ThemeProvider } from "next-themes"
|
||||
|
||||
export default ThemeProvider
|
||||
Reference in New Issue
Block a user