added-attributes-dialog-and-init-creating-repos
[arvados-workbench2.git] / src / views-components / repositories-sample-git-dialog / repositories-sample-git-dialog.tsx
index 0941b53eaaf5e5eb6e9b5e92d3e68662ba639372..1a00e9770a26f806277f802f419a71443e11da21 100644 (file)
@@ -6,7 +6,7 @@ import * as React from "react";
 import { Dialog, DialogTitle, DialogContent, DialogActions, Button, Typography } from "@material-ui/core";
 import { WithDialogProps } from "~/store/dialog/with-dialog";
 import { withDialog } from '~/store/dialog/with-dialog';
-import { REPOSITORIES_SAMPLE_GIT_NAME } from "~/store/repositories/repositories-actions";
+import { REPOSITORIES_SAMPLE_GIT_DIALOG } from "~/store/repositories/repositories-actions";
 import { DefaultCodeSnippet } from '~/components/default-code-snippet/default-code-snippet';
 import { StyleRulesCallback, WithStyles, withStyles } from '@material-ui/core/styles';
 import { ArvadosTheme } from '~/common/custom-theme';
@@ -40,7 +40,7 @@ interface RepositoriesSampleGitDataProps {
 type RepositoriesSampleGitProps = RepositoriesSampleGitDataProps & WithStyles<CssRules>;
 
 export const RepositoriesSampleGitDialog = compose(
-    withDialog(REPOSITORIES_SAMPLE_GIT_NAME),
+    withDialog(REPOSITORIES_SAMPLE_GIT_DIALOG),
     withStyles(styles))(
         (props: WithDialogProps<RepositoriesSampleGitProps> & RepositoriesSampleGitProps) =>
             <Dialog open={props.open}