Skip to content

Commit

Permalink
Fix variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
arthur791004 committed Jul 19, 2023
1 parent 959c8c9 commit 24ae7a9
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -446,8 +446,8 @@ const UnifiedDesignPickerStep: Step = ( { navigation, flow, stepName } ) => {
}
}

function designYourOwn( design: Design, shouldGoToAssemblerStep: boolean ) {
if ( shouldGoToAssemblerStep ) {
function designYourOwn( design: Design, shouldGoToAssembler: boolean ) {
if ( shouldGoToAssembler ) {
const _selectedDesign = {
...design,
design_type: 'assembler',
Expand All @@ -464,7 +464,7 @@ const UnifiedDesignPickerStep: Step = ( { navigation, flow, stepName } ) => {
handleSubmit( {
selectedDesign: _selectedDesign,
selectedSiteCategory: categorization.selection,
shouldGoToAssemblerStep,
shouldGoToAssembler,
} );
} else {
pickDesign( design );
Expand Down

0 comments on commit 24ae7a9

Please sign in to comment.