You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, thanks for pointing this out. Just like with the other issue, I will see if I can tackle this some time soon, but contributions are very welcome.
It would be wise, I suppose, to furthermore switch all the validations to Remix ValidatedForm / Zod...
I totally agree with this, and this would be my favourite solution. The current implementation is less than ideal and not in-line with how validations are done in the rest of the project.
This expression never yields
false
:storefront-remix-starter/app/routes/checkout/index.tsx
Line 74 in e32cebd
...since the initialized value is
0
, notnull
:storefront-remix-starter/app/routes/checkout/index.tsx
Line 61 in e32cebd
Setting
null
as the initial value messes up the address selectors default selection, so this needs to be taken care of as well.It would be wise, I suppose, to furthermore switch all the validations to Remix ValidatedForm / Zod...
The text was updated successfully, but these errors were encountered: