fix(nuxt): don't pass options to spaLoadingTemplate function

This commit is contained in:
Daniel Roe 2024-05-08 16:00:33 +01:00
parent 9b1bfe69ed
commit 0e12b6eb8b
No known key found for this signature in database
GPG Key ID: 3714AB03996F442B

View File

@ -588,7 +588,7 @@ async function spaLoadingTemplate (nuxt: Nuxt) {
}
if (nuxt.options.spaLoadingTemplate === true) {
return defaultSpaLoadingTemplate({})
return defaultSpaLoadingTemplate()
}
if (nuxt.options.spaLoadingTemplate) {