X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/b0462bb88a89a78a8ed2b161d8dd7562d9ca28fa..c11055f2d6ce8385088bc221eab1175e31777ec0:/src/views-components/file-remove-dialog/file-remove-dialog.ts diff --git a/src/views-components/file-remove-dialog/file-remove-dialog.ts b/src/views-components/file-remove-dialog/file-remove-dialog.ts index 832b9ef6..c83181c2 100644 --- a/src/views-components/file-remove-dialog/file-remove-dialog.ts +++ b/src/views-components/file-remove-dialog/file-remove-dialog.ts @@ -4,10 +4,10 @@ import { Dispatch } from "redux"; import { connect } from "react-redux"; -import { ConfirmationDialog } from "../../components/confirmation-dialog/confirmation-dialog"; -import { withDialog, WithDialogProps } from "../../store/dialog/with-dialog"; -import { RootState } from "../../store/store"; -import { removeCollectionFiles, FILE_REMOVE_DIALOG } from "../../store/collection-panel/collection-panel-files/collection-panel-files-actions"; +import { ConfirmationDialog } from "~/components/confirmation-dialog/confirmation-dialog"; +import { withDialog, WithDialogProps } from '~/store/dialog/with-dialog'; +import { RootState } from '~/store/store'; +import { removeCollectionFiles, FILE_REMOVE_DIALOG } from '~/store/collection-panel/collection-panel-files/collection-panel-files-actions'; const mapStateToProps = (state: RootState, props: WithDialogProps<{ filePath: string }>) => ({ filePath: props.data.filePath @@ -30,4 +30,4 @@ const mergeProps = ( export const [FileRemoveDialog] = [ConfirmationDialog] .map(connect(mapStateToProps, mapDispatchToProps, mergeProps)) - .map(withDialog(FILE_REMOVE_DIALOG)); \ No newline at end of file + .map(withDialog(FILE_REMOVE_DIALOG));