Skip to content

Commit

Permalink
fix(router): add mainContentsEl back :)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbaraa committed Jun 5, 2024
1 parent 87014cf commit b4c01c2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/static/js/router.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
"use strict";

const mainContentsEl = document.getElementById("main-contents");

const links = [
{ check: (l) => l === "/", element: document.getElementById("/") },
{ check: (l) => l === "/about", element: document.getElementById("/about") },
Expand Down

0 comments on commit b4c01c2

Please sign in to comment.