Fix function declaration style for popstateHandler

Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2025-09-16 23:27:29 +00:00
parent fb864ecd6c
commit 5393045dfd
1 changed files with 2 additions and 2 deletions

View File

@ -56,12 +56,12 @@ function onClosed() {
emit('closed'); emit('closed');
} }
const popstateHandler = (): void => { function popstateHandler(): void {
// If the hash is no longer our folder hash, close the page // If the hash is no longer our folder hash, close the page
if (window.location.hash !== `#folder-${props.pageId}`) { if (window.location.hash !== `#folder-${props.pageId}`) {
closePage(); closePage();
} }
}; }
onMounted(() => { onMounted(() => {
// Push a new history state with a unique hash when the folder page opens // Push a new history state with a unique hash when the folder page opens