diff --git a/src/components/views/dialogs/ErrorDialog.js b/src/components/views/dialogs/ErrorDialog.js index c3f4ca6a55..b3278dfcfe 100644 --- a/src/components/views/dialogs/ErrorDialog.js +++ b/src/components/views/dialogs/ErrorDialog.js @@ -20,7 +20,7 @@ limitations under the License. * title: "some text", (default: "Error") * description: "some more text", * button: "Button Text", - * onClose: someFunction, + * onFinished: someFunction, * focus: true|false (default: true) * }); */ diff --git a/src/components/views/dialogs/NeedToRegisterDialog.js b/src/components/views/dialogs/NeedToRegisterDialog.js index 2ad246503f..1d5b6c3e5e 100644 --- a/src/components/views/dialogs/NeedToRegisterDialog.js +++ b/src/components/views/dialogs/NeedToRegisterDialog.js @@ -19,7 +19,7 @@ limitations under the License. * Modal.createDialog(NeedToRegisterDialog, { * title: "some text", (default: "Registration required") * description: "some more text", - * onClose: someFunction, + * onFinished: someFunction, * }); */