Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 [BUG] react和react-dom的ts定义版本不一致导致Helmet标签类型错误 #10473

Closed
Hexi1997 opened this issue Jan 3, 2023 · 0 comments · Fixed by #10478
Closed

Comments

@Hexi1997
Copy link
Contributor

Hexi1997 commented Jan 3, 2023

🐛 bug 描述

react和react-dom的版本均为18,但是 @types/react @types/react-dom 均是17,版本不一致。导致src/pages/User/Login/index.tsx 里面的 Helmet 标签类型错误

📷 复现步骤 | Recurrence steps

1、克隆最新代码
2、运行,切换到login/index.tsx页面,查看Helmet的ts类型

🏞 期望结果 | Expected results

没有类型错误

© 版本信息

  • Ant Design Pro 版本: 6.0.0
  • umi 版本: 4
  • 浏览器环境: chrome
  • 开发环境: linux deepin 20

🚑 其他信息

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant