From 6ca7600a57aa657f9b1c18142cce27f1c64f67c0 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Wed, 27 Nov 2024 14:17:33 +0000 Subject: [PATCH] chore: remove default value for `spaLoaderAttrs` --- packages/schema/src/config/app.ts | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/packages/schema/src/config/app.ts b/packages/schema/src/config/app.ts index 406c0d6e54..3da32d74f4 100644 --- a/packages/schema/src/config/app.ts +++ b/packages/schema/src/config/app.ts @@ -274,14 +274,7 @@ export default defineUntypedSchema({ * Customize Nuxt Nuxt SpaLoader element attributes. * @type {typeof import('@unhead/schema').HtmlAttributes} */ - spaLoaderAttrs: { - $resolve: async (val: undefined | null | Record, get) => { - const spaLoaderId = await get('app.spaLoaderId') - return defu(val, { - id: spaLoaderId === false ? undefined : (spaLoaderId || '__nuxt-spa-loader'), - }) - }, - }, + spaLoaderAttrs: {}, }, /**