File tree Expand file tree Collapse file tree 3 files changed +6
-23
lines changed
components/interfaces/RPA Expand file tree Collapse file tree 3 files changed +6
-23
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,8 @@ import Form from '@atlaskit/form';
1111import type { ApiResponse , TaskWithRpaProcedure } from 'types' ;
1212import type { Task } from '@prisma/client' ;
1313import CreateFormBody from './CreateFormBody' ;
14- import StageTracker from './StageTracker' ;
14+ import { StageTracker } from '@/components/shared/atlaskit' ;
15+ import { headers } from '@/components/defaultLanding/data/configs/rpa' ;
1516
1617const CreateRPA = ( {
1718 visible,
@@ -138,8 +139,7 @@ const CreateRPA = ({
138139 { ( { formProps, reset } ) => (
139140 < form { ...formProps } >
140141 < Modal . Header >
141- { /* TODO: use shared/atlaskit component */ }
142- < StageTracker currentStage = { stage } />
142+ < StageTracker currentStage = { stage } headers = { headers } />
143143 </ Modal . Header >
144144 < Modal . Body >
145145 < CreateFormBody
Original file line number Diff line number Diff line change @@ -13,7 +13,8 @@ import type { ApiResponse } from 'types';
1313import type { Task } from '@prisma/client' ;
1414import CreateFormBody from './CreateFormBody' ;
1515import { TaskPickerFormBody } from '@/components/shared/atlaskit' ;
16- import StageTracker from './StageTracker' ;
16+ import { StageTracker } from '@/components/shared/atlaskit' ;
17+ import { headers } from '@/components/defaultLanding/data/configs/rpa' ;
1718
1819const DashboardCreateRPA = ( {
1920 visible,
@@ -158,8 +159,7 @@ const DashboardCreateRPA = ({
158159 < form { ...formProps } >
159160 < Modal . Header className = "font-bold" >
160161 { modalStage === 0 && `Select a task` }
161- { /* TODO: use shared/atlaskit component */ }
162- { modalStage === 1 && < StageTracker currentStage = { stage } /> }
162+ { modalStage === 1 && < StageTracker currentStage = { stage } headers = { headers } /> }
163163 </ Modal . Header >
164164 < Modal . Body >
165165 { modalStage === 0 && (
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments