Skip to content

Commit

Permalink
unused var cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinschaper committed Sep 15, 2024
1 parent 6dfef07 commit 353adfa
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion frontend/src/components/TheTableOfContents.vue
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ async function updatePosition() {
const subHeaderEl = document.querySelector("main > section:first-child");
if (!headerEl || !subHeaderEl) return;
const header = headerEl.getBoundingClientRect();
const subHeader = subHeaderEl.getBoundingClientRect();
/** calculate nudge */
nudge.value = Math.max(header.top + header.height);
Expand Down

0 comments on commit 353adfa

Please sign in to comment.