Skip to content

Commit

Permalink
fix: loader client bug
Browse files Browse the repository at this point in the history
  • Loading branch information
tannerlinsley committed Jul 8, 2023
1 parent a477503 commit 9c76f63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/loaders/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export class LoaderClient<
if (this.initialized) return
Object.entries(this.options.getLoaders()).forEach(
([key, loader]: [string, Loader]) => {
;(this.loaders as any)[key] = loader.init(key, client)
;(this.loaders as any)[key] = loader.init(key, this)
},
)
this.initialized = true
Expand Down

0 comments on commit 9c76f63

Please sign in to comment.