chore: remove div in server render

This commit is contained in:
Michael Brevard 2024-06-13 01:47:45 +03:00 committed by GitHub
parent 0b769781c5
commit c14580d8c1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -19,9 +19,7 @@ export const createLazyIOClientPage = (componentLoader: Component) => {
inheritAttrs: false,
setup (_, { attrs }) {
if (import.meta.server) {
return () => h('div', {}, [
h(componentLoader, attrs),
])
return () => h(componentLoader, attrs)
}
const nuxt = useNuxtApp()