fix: update hydration for SPA mode
This commit is contained in:
parent
1b4aa8f6a7
commit
5318b67902
1 changed files with 1 additions and 0 deletions
|
@ -14,5 +14,6 @@
|
|||
} else {
|
||||
mql.addEventListener('change', cb, { once: true });
|
||||
}
|
||||
window.addEventListener('astro:locationchange', media, { once: true })
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue