v3: linter and formatter pass
This commit is contained in:
@@ -125,7 +125,10 @@ export function Dump() {
|
||||
if (!el) return;
|
||||
el.scrollIntoView({ behavior: "smooth", block: "start" });
|
||||
el.classList.add("comment-node--highlight");
|
||||
const t = setTimeout(() => el.classList.remove("comment-node--highlight"), 2000);
|
||||
const t = setTimeout(
|
||||
() => el.classList.remove("comment-node--highlight"),
|
||||
2000,
|
||||
);
|
||||
return () => clearTimeout(t);
|
||||
}, [comments, location.hash]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user