X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/f05ff87a5a04b0a6c45c2cba0b492c561de2e651..295d62fd5e44819cb55737a86c42db633e097cd8:/src/store/rich-text-editor-dialog/rich-text-editor-dialog-actions.tsx

diff --git a/src/store/rich-text-editor-dialog/rich-text-editor-dialog-actions.tsx b/src/store/rich-text-editor-dialog/rich-text-editor-dialog-actions.tsx
index d8bb6fd1..f2a1c4b2 100644
--- a/src/store/rich-text-editor-dialog/rich-text-editor-dialog-actions.tsx
+++ b/src/store/rich-text-editor-dialog/rich-text-editor-dialog-actions.tsx
@@ -7,6 +7,4 @@ import { dialogActions } from "~/store/dialog/dialog-actions";
 
 export const RICH_TEXT_EDITOR_DIALOG_NAME = 'richTextEditorDialogName';
 export const openRichTextEditorDialog = (title: string, text: string) => 
-    async (dispatch: Dispatch) => {
-        dispatch(dialogActions.OPEN_DIALOG({ id: RICH_TEXT_EDITOR_DIALOG_NAME, data: { title, text } }));
-    };
\ No newline at end of file
+    dialogActions.OPEN_DIALOG({ id: RICH_TEXT_EDITOR_DIALOG_NAME, data: { title, text } });
\ No newline at end of file
