Skip to content

Commit

Permalink
fix: site style in dark mode (#1300)
Browse files Browse the repository at this point in the history
Co-authored-by: tingzhao.ytz <[email protected]>
  • Loading branch information
yutingzhao1991 and tingzhao.ytz authored Dec 25, 2024
1 parent 7f8b1e9 commit dd6bb3f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .dumirc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ const alias = pkgList.reduce(
// 打开 SSR 的情况下需要配置 wagmi 的别名,因为安装了 18.3.0-canary-c3048aab4-20240326 版本的 react 会导致文档 demo 和 packages 中依赖不同版本的 wagmi(pnpm 的包管理机制的原因),导致出现类似下面这样的错误
// `useConfig` must be used within `WagmiProvider`. Docs: https://wagmi.sh/react/api/WagmiProvider.html Version: [email protected]
wagmi: resolve('./node_modules/wagmi'),
// 指定 antd 版本,避免 antd 多版本下官网 design token 不生效的问题
antd: resolve('./node_modules/antd'),
'@tanstack/react-query': resolve('./node_modules/@tanstack/react-query'),
'@ant-design/cssinjs': resolve('./node_modules/@ant-design/cssinjs'),
}
Expand Down

0 comments on commit dd6bb3f

Please sign in to comment.