fix(nuxt): decrement hydration count when rendering no route (#23476)

This commit is contained in:
Daniel Roe 2023-10-01 16:22:39 +01:00 committed by GitHub
parent df90d4234c
commit 96d9d56ac5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,6 +60,7 @@ export default defineComponent({
if (import.meta.client && vnode && !hasSameChildren) {
return vnode
}
done()
return
}