Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Rendered fewer hooks than expected (when change app theme) #1129

@Renbin22c

Description

@Renbin22c

重现步骤

在线示例链接:(必填)

步骤:

  1. When changing the theme in ConfigProvider from antd will cause a error: "Rendered fewer hooks than expected. This may be caused by an accidental early return statement."
  2. antd version = 5.19.0

当前行为

No response

预期行为

No response

上下文

No response

版本

1.6.0

您在哪些浏览器上遇到了这个问题?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions