fix back button in spa not working between two pages that both have hash fragments

This commit is contained in:
Jacky Zhao committed 2023-08-17 01:34:50 -07:00
1 parent 58d9dc0528
commit 07a327e05a
4 files changed
+15 -11

No files matched your search

@@ -179,7 +179,6 @@ async function renderGraph(container: string, slug: CanonicalSlug) {
const neighbourNodes = d3
.selectAll<HTMLElement, NodeData>(".node")
.filter((d) => neighbours.includes(d.id))
console.log(neighbourNodes)
const currentId = d.id
const linkNodes = d3
.selectAll(".link")