Remove unused parameter from listerer

This commit is contained in:
Robert
2023-11-07 16:17:23 +00:00
parent 427940d3d6
commit 814ba246f8

View File

@@ -47,9 +47,7 @@ export function Graph({ graphData, databaseUri }: GraphProps) {
d.attributes["xlink:href"] = "#";
d.attributes["href"] = "#";
loc.uri = `file://${loc.uri}`;
select(this).on("click", function (e) {
jumpToLocation(loc, databaseUri);
});
select(this).on("click", () => jumpToLocation(loc, databaseUri));
}
}
if ("fill" in d.attributes) {