X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/9da0da6012b6c4b80db90fdd5862d37ad2113aa4..a4c96d2e98d9f2971e9268355bd31331c2b6a5e2:/src/views-components/process-remove-dialog/process-remove-dialog.tsx

diff --git a/src/views-components/process-remove-dialog/process-remove-dialog.tsx b/src/views-components/process-remove-dialog/process-remove-dialog.tsx
index 0994c28a..99bfd971 100644
--- a/src/views-components/process-remove-dialog/process-remove-dialog.tsx
+++ b/src/views-components/process-remove-dialog/process-remove-dialog.tsx
@@ -4,13 +4,9 @@
 
 import { Dispatch, compose } from 'redux';
 import { connect } from "react-redux";
-import { ConfirmationDialog } from "~/components/confirmation-dialog/confirmation-dialog";
-import { withDialog, WithDialogProps } from "~/store/dialog/with-dialog";
-import { removeProcessPermanently, REMOVE_PROCESS_DIALOG } from '~/store/processes/processes-actions';
-
-const mapStateToProps = (props: WithDialogProps<string>) => ({
-    ...props,
-});
+import { ConfirmationDialog } from "components/confirmation-dialog/confirmation-dialog";
+import { withDialog, WithDialogProps } from "store/dialog/with-dialog";
+import { removeProcessPermanently, REMOVE_PROCESS_DIALOG } from 'store/processes/processes-actions';
 
 const mapDispatchToProps = (dispatch: Dispatch, props: WithDialogProps<any>) => ({
     onConfirm: () => {
@@ -21,5 +17,5 @@ const mapDispatchToProps = (dispatch: Dispatch, props: WithDialogProps<any>) =>
 
 export const RemoveProcessDialog = compose(
     withDialog(REMOVE_PROCESS_DIALOG),
-    connect(mapStateToProps, mapDispatchToProps)
+    connect(null, mapDispatchToProps)
 )(ConfirmationDialog);
