Skip to content

Commit

Permalink
docs: typo fix (#2443)
Browse files Browse the repository at this point in the history
  • Loading branch information
hiddenboox committed Oct 10, 2023
1 parent a13d43b commit 282666f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/src/pages/docs/di/providers.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ export const myModule = createModule({
{
provide: ApiKey,
useFactory(config: Config) {
if (context.environment) {
if (config.environment) {
return 'my-api-key'
}
return null
Expand Down

0 comments on commit 282666f

Please sign in to comment.