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 376ea06 commit 44d4dc8Copy full SHA for 44d4dc8
packages/react-router/lib/router/utils.ts
@@ -1809,13 +1809,12 @@ export const normalizeSearch = (search: string): string =>
1809
export const normalizeHash = (hash: string): string =>
1810
!hash || hash === "#" ? "" : hash.startsWith("#") ? hash : "#" + hash;
1811
1812
-export class DataWithResponseInit<D> extends Error {
+export class DataWithResponseInit<D> {
1813
type: string = "DataWithResponseInit";
1814
data: D;
1815
init: ResponseInit | null;
1816
1817
constructor(data: D, init?: ResponseInit) {
1818
- super("DataWithResponseInit");
1819
this.data = data;
1820
this.init = init || null;
1821
}
0 commit comments