Skip to content

Commit

Permalink
Add return type for shipping cost fetching function
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksandrsKondratjevs committed Nov 4, 2022
1 parent 2f4f232 commit 08302d0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ export class CheckoutContainer extends PureComponent<CheckoutContainerProps, Che
this.setState({ selectedShippingMethod: method_code });
}

onShippingEstimationFieldsChange(address: GQLEstimateShippingCostsAddress) {
onShippingEstimationFieldsChange(address: GQLEstimateShippingCostsAddress): void {
const cartId = getCartId();

if (!cartId) {
Expand Down

0 comments on commit 08302d0

Please sign in to comment.