diff --git a/src/utils/url.ts b/src/utils/url.ts index f219929..7ddc33d 100644 --- a/src/utils/url.ts +++ b/src/utils/url.ts @@ -10,9 +10,9 @@ export const cleanUrl = (url: string) => { u.searchParams.delete(name); } } + return u.toString(); - } - catch (_: unknown) { + } catch (_: unknown) { return url; } -} \ No newline at end of file +};