Skip to content

Commit 3b5fc84

Browse files
committed
fix: modal
1 parent d695e35 commit 3b5fc84

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/share/components/modal.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const modalLocale = currentLocale.Modal || {};
55

66
const Modal = { ...SemiModal };
77

8-
['confirm', 'warning', 'info', 'success', 'error', ''].forEach(key => {
8+
['confirm', 'warning', 'info', 'success', 'error'].forEach(key => {
99
(Modal as any)[key] = (props: any) =>
1010
(SemiModal as any)[key]({
1111
okText: modalLocale.confirm,

0 commit comments

Comments
 (0)