Skip to content

Commit

Permalink
fix: default config to empty object (closes #47)
Browse files Browse the repository at this point in the history
  • Loading branch information
johannschopplich committed Feb 22, 2024
1 parent a8cbca3 commit e994731
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ export default defineNuxtModule<ModuleOptions>({
},
},
defaults: {
id: undefined,
config: undefined,
id: '',
config: {},
tags: [],
initialConsent: true,
loadingStrategy: 'defer',
Expand Down

0 comments on commit e994731

Please sign in to comment.