Fix shipping task step when store location isn't filled out (https://github.com/woocommerce/woocommerce-admin/pull/8260)

* Remove completeStep call in StoreLocation callback to avoid duplicate call.

* Add changelog
This commit is contained in:
louwie17 2022-02-07 14:55:35 -04:00 committed by GitHub
parent 080dc48a9b
commit c2537136bb
2 changed files with 5 additions and 1 deletions

View File

@ -0,0 +1,4 @@
Significance: patch
Type: Fix
Fix Shipping task sometimes skipping the set shipping costs step. #8260

View File

@ -214,7 +214,7 @@ export class Shipping extends Component {
recordEvent( 'tasklist_shipping_set_location', {
country,
} );
this.completeStep();
// Don't need to trigger completeStep here as it's triggered by the address updates in the componentDidUpdate function.
} }
/>
),