We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d695e35 commit 3b5fc84Copy full SHA for 3b5fc84
1 file changed
src/share/components/modal.ts
@@ -5,7 +5,7 @@ const modalLocale = currentLocale.Modal || {};
5
6
const Modal = { ...SemiModal };
7
8
-['confirm', 'warning', 'info', 'success', 'error', ''].forEach(key => {
+['confirm', 'warning', 'info', 'success', 'error'].forEach(key => {
9
(Modal as any)[key] = (props: any) =>
10
(SemiModal as any)[key]({
11
okText: modalLocale.confirm,
0 commit comments