Skip to content

Commit ea89564

Browse files
authored
Fix context token instantiation in documentation
1 parent c0afe2d commit ea89564

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

16/umbraco-cms/customizing/foundation/context-api/consume-a-context.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ const MY_PUBLISHABLE_CONTEXT = new UmbContextToken<
171171

172172
MyContext,
173173
MyPublishableContext
174-
>("My.Context.Token", (context): context is MyPublishableContext => {
174+
>("My.Context.Token", undefined, (context): context is MyPublishableContext => {
175175
return "publish" in context;
176176
});
177177
```

0 commit comments

Comments
 (0)