fix(frontend): fix lint (#15906)

* fix(frontend): attempt to fix lint

* fix lint
This commit is contained in:
かっこかり 2025-04-29 15:54:57 +09:00 committed by GitHub
parent 41f09fa272
commit f8b0863b8e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 26 additions and 13 deletions

View file

@ -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 '';
}
}