@remix-run/router 0.0.0-experimental-5bedc168 → 0.0.0-experimental-cbcd94b7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/router.cjs.js +3 -2
- package/dist/router.cjs.js.map +1 -1
- package/dist/router.js +3 -2
- package/dist/router.js.map +1 -1
- package/dist/router.umd.js +3 -2
- package/dist/router.umd.js.map +1 -1
- package/dist/router.umd.min.js +2 -2
- package/dist/router.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/router.ts +5 -1
package/dist/router.cjs.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @remix-run/router v0.0.0-experimental-
|
|
2
|
+
* @remix-run/router v0.0.0-experimental-cbcd94b7
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -4356,7 +4356,8 @@ async function convertHandlerResultToDataResult(handlerResult) {
|
|
|
4356
4356
|
if (type === ResultType.error) {
|
|
4357
4357
|
return {
|
|
4358
4358
|
type,
|
|
4359
|
-
error: result
|
|
4359
|
+
error: result,
|
|
4360
|
+
statusCode: isRouteErrorResponse(result) ? result.status : undefined
|
|
4360
4361
|
};
|
|
4361
4362
|
}
|
|
4362
4363
|
if (isDeferredData(result)) {
|