fix(frontend): fix lint (#15906)
* fix(frontend): attempt to fix lint * fix lint
This commit is contained in:
parent
41f09fa272
commit
f8b0863b8e
2 changed files with 26 additions and 13 deletions
|
|
@ -39,7 +39,7 @@ export function maybeMakeRelative(urlStr: string, baseStr: string): string {
|
|||
return urlObj.pathname + urlObj.search + urlObj.hash;
|
||||
}
|
||||
return urlStr;
|
||||
} catch (e) {
|
||||
} catch {
|
||||
return '';
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue