fix(client): fix initializer meno props based on antd@^4.24 (#1746)

This commit is contained in:
Junyi 2023-04-22 10:27:19 +07:00 committed by GitHub
parent 71af0f16a9
commit 4c232980b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -123,8 +123,8 @@ SchemaInitializer.Button = observer((props: SchemaInitializerButtonProps) => {
}
`,
)}
visible={visible}
onVisibleChange={(visible) => {
open={visible}
onOpenChange={(visible) => {
setVisible(visible);
}}
{...dropdown}