Skip to content

Commit

Permalink
fix(nuxt): don't pass options to spaLoadingTemplate function
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed May 8, 2024
1 parent 9b1bfe6 commit 0e12b6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nuxt/src/core/nitro.ts
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ async function spaLoadingTemplate (nuxt: Nuxt) {
}

if (nuxt.options.spaLoadingTemplate === true) {
return defaultSpaLoadingTemplate({})
return defaultSpaLoadingTemplate()
}

if (nuxt.options.spaLoadingTemplate) {
Expand Down

0 comments on commit 0e12b6e

Please sign in to comment.