#Storefront issue since upgrade to 1.11

3 messages · Page 1 of 1 (latest)

stoic pelican
#

Since we updated to 1.11 we see the following issue on the nextjs storefront:

./src/modules/checkout/components/billing_address/index.tsx
Error: 
  x Unexpected token `ConnectForm`. Expected jsx identifier
    ,-[/src/modules/checkout/components/billing_address/index.tsx:5:1]
  5 | 
  6 | const BillingAddress = () => {
  7 |   return (
  8 |     <ConnectForm<CheckoutFormValues>>
    :      ^^^^^^^^^^^
  9 |       {({ register, formState: { errors, touchedFields } }) => (
 10 |         <div className="grid grid-cols-1 gap-y-2">
 11 |           <div className="grid grid-cols-2 gap-x-2">
    `----

Caused by:
    Syntax Error

I checked everything and everything is in order from a JSX perspective. There are no missing html tags etc..
Is this something caused by the new Medusa 1.11 version? Its preventing us to build the storefront atm and extremtely blocking...

#

It seems that this component causes the issue: <ConnectForm<CheckoutFormValues>> but I have no explanation why 1.11 would break this behaviour. I didnt make any changes to the existing codebase in this part of the repo

stoic pelican
#

Does anyone have a clue? I am using the exact same files from the nextjs medusa starter. Its been blocking us since quite some time.