We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1e1801 commit 3d5c73eCopy full SHA for 3d5c73e
contributors.yml
@@ -21,6 +21,7 @@
21
- chensokheng
22
- chrisngobanh
23
- christopherchudzicki
24
+- christowiz
25
- coryhouse
26
- cvbuelow
27
- dauletbaev
docs/route/error-element.md
@@ -174,12 +174,12 @@ function fetchProject(id) {
174
headers: { Authorization: `Bearer ${token}` },
175
});
176
177
- if (res.status === 404) {
+ if (response.status === 404) {
178
throw new Response("Not Found", { status: 404 });
179
}
180
181
// the fetch failed
182
- if (!res.ok) {
+ if (!response.ok) {
183
throw new Error("Could not fetch project");
184
185
0 commit comments