From 5393045dfd4e928464d3b60060c088567f533a95 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 16 Sep 2025 23:27:29 +0000 Subject: [PATCH] Fix function declaration style for popstateHandler Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com> --- packages/frontend/src/components/MkFolderPage.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/frontend/src/components/MkFolderPage.vue b/packages/frontend/src/components/MkFolderPage.vue index 7b03cce9c5..37cd4a749e 100644 --- a/packages/frontend/src/components/MkFolderPage.vue +++ b/packages/frontend/src/components/MkFolderPage.vue @@ -56,12 +56,12 @@ function onClosed() { emit('closed'); } -const popstateHandler = (): void => { +function popstateHandler(): void { // If the hash is no longer our folder hash, close the page if (window.location.hash !== `#folder-${props.pageId}`) { closePage(); } -}; +} onMounted(() => { // Push a new history state with a unique hash when the folder page opens