File tree 1 file changed +11
-16
lines changed
client/landing/stepper/declarative-flow/internals/steps-repository/site-migration-instructions
1 file changed +11
-16
lines changed Original file line number Diff line number Diff line change @@ -177,18 +177,20 @@ const SiteMigrationInstructions: StepType< {
177
177
navigation . submit ?.( { how : HOW_TO_MIGRATE_OPTIONS . DO_IT_FOR_ME } ) ;
178
178
} , [ navigation ] ) ;
179
179
180
+ const progressCircle = (
181
+ < CircularProgressBar
182
+ size = { 40 }
183
+ enableDesktopScaling
184
+ numberOfSteps = { steps . length }
185
+ currentStep = { completedSteps }
186
+ />
187
+ ) ;
188
+
180
189
const migrationInstructions = (
181
190
< MigrationInstructions
182
191
withPreview = { withPreview }
183
192
isContainerV2 = { useContainerV2 }
184
- progress = {
185
- < CircularProgressBar
186
- size = { 40 }
187
- enableDesktopScaling
188
- numberOfSteps = { steps . length }
189
- currentStep = { completedSteps }
190
- />
191
- }
193
+ progress = { progressCircle }
192
194
>
193
195
< div className = "site-migration-instructions__steps" >
194
196
< Steps steps = { steps } />
@@ -213,14 +215,7 @@ const SiteMigrationInstructions: StepType< {
213
215
const topBar = (
214
216
< Step . TopBar rightElement = { < SupportNudge onAskForHelp = { navigateToDoItForMe } /> } />
215
217
) ;
216
- const progressCircle = (
217
- < CircularProgressBar
218
- size = { 40 }
219
- enableDesktopScaling
220
- numberOfSteps = { steps . length }
221
- currentStep = { completedSteps }
222
- />
223
- ) ;
218
+
224
219
if ( ! withPreview ) {
225
220
return (
226
221
< >
You can’t perform that action at this time.
0 commit comments