Skip to content

Commit

Permalink
chore: remove unused argument (#2496)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe authored Jan 17, 2024
1 parent 06e9209 commit de92f41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@ export default defineNuxtModule<ModuleOptions>({
addTemplate({
filename: 'content-components.mjs',
getContents ({ options }) {
const components = options.getComponents(options.mode).filter((c: any) => !c.island).flatMap((c: any) => {
const components = options.getComponents().filter((c: any) => !c.island).flatMap((c: any) => {
const exp = c.export === 'default' ? 'c.default || c' : `c['${c.export}']`
const isClient = c.mode === 'client'
const definitions: string[] = []
Expand Down

0 comments on commit de92f41

Please sign in to comment.