File tree Expand file tree Collapse file tree
components/composite/StepShipping Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -205,8 +205,9 @@ export const StepShipping: React.FC<Props> = () => {
205205 < ShippingMethodName data-cy = "shipping-method-name" >
206206 { ( props ) => {
207207 const deliveryLeadTime =
208- props . shippingMethod . deliveryLeadTimeForShipment ( )
209-
208+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
209+ // @ts -ignore
210+ props ?. deliveryLeadTimeForShipment
210211 return (
211212 < label
212213 className = "flex flex-col p-3 border rounded cursor-pointer hover:border-primary transition duration-200 ease-in"
@@ -216,7 +217,9 @@ export const StepShipping: React.FC<Props> = () => {
216217 { props . label }
217218 </ ShippingLineItemTitle >
218219 { deliveryLeadTime ?. minDays &&
219- deliveryLeadTime . maxDays && (
220+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
221+ // @ts -ignore
222+ deliveryLeadTime ?. maxDays && (
220223 < ShippingSummaryItemDescription >
221224 < Trans
222225 t = { t }
Original file line number Diff line number Diff line change 1616 },
1717 "dependencies" : {
1818 "@commercelayer/js-sdk" : " ^3.10.0" ,
19- "@commercelayer/react-components" : " ^2.46.5 " ,
19+ "@commercelayer/react-components" : " ^2.46.7 " ,
2020 "@fortawesome/fontawesome-svg-core" : " ^1.2.36" ,
2121 "@fortawesome/free-solid-svg-icons" : " ^5.15.4" ,
2222 "@fortawesome/react-fontawesome" : " ^0.1.15" ,
Original file line number Diff line number Diff line change 339339 lodash "^4.17.21"
340340 lodash-es "^4.17.21"
341341
342- " @commercelayer/react-components@^2.46.5 " :
343- version "2.46.5 "
344- resolved "https://registry.yarnpkg.com/@commercelayer/react-components/-/react-components-2.46.5 .tgz#3dd68e4dd5baa48aac14e7df766eca21e1e4ff29 "
345- integrity sha512-5y7q5wNFeWpWxSr44X+SfdzfitoJZ5KRfv++vzWohHMTfwNoLjgKAs5g5oxjK0YhAjcKkG2MFWA/yNxcBAmCQA ==
342+ " @commercelayer/react-components@^2.46.7 " :
343+ version "2.46.7 "
344+ resolved "https://registry.yarnpkg.com/@commercelayer/react-components/-/react-components-2.46.7 .tgz#f0cd0307b67d870cf8108ec7b4feb68881b30948 "
345+ integrity sha512-PU5tKdaVK/cypuyUbIlm2L9KMWpeLsT7OyV7Ibq/7sUqjQiTVcAYKoMYkcxgVRFpNLkSzBfLu+1BZhW6lF+p1w ==
346346 dependencies :
347347 " @adyen/adyen-web" " ^5.2.0"
348348 " @commercelayer/js-auth" " ^2.1.0"
You can’t perform that action at this time.
0 commit comments