From cf6ca5c41efa3f581a682c4deda888acaa213459 Mon Sep 17 00:00:00 2001 From: Z Date: Sun, 13 Jun 2021 21:16:23 +0100 Subject: [PATCH] remove param --- src/main.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.tsx b/src/main.tsx index f51f9b0..1866f2c 100644 --- a/src/main.tsx +++ b/src/main.tsx @@ -52,7 +52,7 @@ async function onLoad(): Promise { pageTitleElement: document.querySelector("#pageTitle"), pageContentElement: document.querySelector("#pageContent"), resetElementContent: !true, - onPageChange: async function (_) { + onPageChange: async function () { pageState.currentPage = await pageRouter.getCurrentPageID(); document.documentElement.dir = pageState.pageDirection; },