Replies: 1 comment
-
This is already fixed in the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I didn't know where to write this, but I think a
break
is missing from the create-remix package example.I don't know if this is intended. The
case
statements are executed from the first one that matches (ifcaught.status
is 401, it will execute fromcase 401:
) to thedefault:
because they don't have abreak
.Resulting in the same message every time (
There was a problem with your request! 401 Forbidden
, where 401 and Forbidden arecaught.status
andcaught.statusText
).remix/packages/create-remix/templates/_shared_js/app/routes/demos/params/$id.jsx
Lines 55 to 75 in a7712f2
remix/packages/create-remix/templates/_shared_ts/app/routes/demos/params/$id.tsx
Lines 56 to 76 in a7712f2
Thanks for reading, have a nice day!
Beta Was this translation helpful? Give feedback.
All reactions