- {/* */}
{ projectName &&
{projectName}
}
@@ -118,7 +66,7 @@ const MigrationFlowHeader = ({projectData, handleOnClick, isLoading, isCompleted
aria-label='Save and Continue'
isLoading={isLoading}
>
- {params?.stepId === '3' || params?.stepId === '4' ? 'Continue' : params?.stepId === '5' ? 'Start' : 'Save and Continue'}
+ {stepValue}
)
diff --git a/ui/src/components/TestMigration/index.tsx b/ui/src/components/TestMigration/index.tsx
index a4bdf8b76..3671c7600 100644
--- a/ui/src/components/TestMigration/index.tsx
+++ b/ui/src/components/TestMigration/index.tsx
@@ -1,7 +1,10 @@
import { useEffect, useState } from 'react';
-import { Field, FieldLabel, TextInput, Link, Icon, Tooltip } from '@contentstack/venus-components';
+import { Field, FieldLabel, TextInput, Link, Icon, Tooltip, Button } from '@contentstack/venus-components';
import { useSelector } from 'react-redux';
+// Redux files
+import { RootState } from '../../store';
+
// Services
import { getCMSDataFromFile } from '../../cmsData/cmsSelector';
@@ -20,7 +23,7 @@ import './index.scss';
const TestMigration = () => {
const [data, setData] = useState