fix: Remove try/catch statements without error argument (#6370)
This commit is contained in:
@@ -10,7 +10,7 @@ function YouTube({ matches, ...props }: Props) {
|
||||
const url = new URL(props.attrs.href);
|
||||
const searchParams = new URLSearchParams(url.search);
|
||||
start = searchParams.get("t")?.replace(/s$/, "");
|
||||
} catch {
|
||||
} catch (_e) {
|
||||
// noop
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user