Skip to content

Commit 814ba24

Browse files
Remove unused parameter from listerer
1 parent 427940d commit 814ba24

File tree

1 file changed

+1
-3
lines changed
  • extensions/ql-vscode/src/view/results

1 file changed

+1
-3
lines changed

extensions/ql-vscode/src/view/results/Graph.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,7 @@ export function Graph({ graphData, databaseUri }: GraphProps) {
4747
d.attributes["xlink:href"] = "#";
4848
d.attributes["href"] = "#";
4949
loc.uri = `file://${loc.uri}`;
50-
select(this).on("click", function (e) {
51-
jumpToLocation(loc, databaseUri);
52-
});
50+
select(this).on("click", () => jumpToLocation(loc, databaseUri));
5351
}
5452
}
5553
if ("fill" in d.attributes) {

0 commit comments

Comments
 (0)