We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
withFragment
1 parent 48237ab commit 712b8d5Copy full SHA for 712b8d5
src/utils.ts
@@ -306,5 +306,5 @@ export function withFragment(input: string, hash: string): string {
306
}
307
308
export function withoutFragment(input: string): string {
309
- return withFragment(input, "");
+ return stringifyParsedURL({ ...parseURL(input), hash: "" });
310
0 commit comments