We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4856c91 commit ba1b7e8Copy full SHA for ba1b7e8
src/components/dialog/confirm.tsx
@@ -44,19 +44,14 @@ export default function confirm(config: IModalFuncProps) {
44
}
45
46
function render({ okText, cancelText, ...props }: any) {
47
- /**
48
- * TODO: Please determine if this really needs to be a macro task
49
- */
50
- setTimeout(() => {
51
- renderUtils(
52
- <ConfirmDialog
53
- {...props}
54
- okText={okText}
55
- cancelText={cancelText}
56
- />,
57
- div
58
- );
59
- });
+ renderUtils(
+ <ConfirmDialog
+ {...props}
+ okText={okText}
+ cancelText={cancelText}
+ />,
+ div
+ );
60
61
62
function close(...args: any[]) {
0 commit comments