Skip to content

Commit 282666f

Browse files
authored
docs: typo fix (#2443)
1 parent a13d43b commit 282666f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/src/pages/docs/di/providers.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ export const myModule = createModule({
157157
{
158158
provide: ApiKey,
159159
useFactory(config: Config) {
160-
if (context.environment) {
160+
if (config.environment) {
161161
return 'my-api-key'
162162
}
163163
return null

0 commit comments

Comments
 (0)