fix: update hydration for SPA mode

This commit is contained in:
Nate Moore 2022-03-26 05:20:04 -05:00 committed by Nate Moore
parent 1b4aa8f6a7
commit 5318b67902

View file

@ -14,5 +14,6 @@
} else {
mql.addEventListener('change', cb, { once: true });
}
window.addEventListener('astro:locationchange', media, { once: true })
}
};