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:
parent
080dc48a9b
commit
c2537136bb
|
@ -0,0 +1,4 @@
|
||||||
|
Significance: patch
|
||||||
|
Type: Fix
|
||||||
|
|
||||||
|
Fix Shipping task sometimes skipping the set shipping costs step. #8260
|
|
@ -214,7 +214,7 @@ export class Shipping extends Component {
|
||||||
recordEvent( 'tasklist_shipping_set_location', {
|
recordEvent( 'tasklist_shipping_set_location', {
|
||||||
country,
|
country,
|
||||||
} );
|
} );
|
||||||
this.completeStep();
|
// Don't need to trigger completeStep here as it's triggered by the address updates in the componentDidUpdate function.
|
||||||
} }
|
} }
|
||||||
/>
|
/>
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in New Issue