Skip to content

Commit 9705d27

Browse files
Michael Lustigalexkrolick
authored andcommitted
Fix error (#2370)
1 parent 569f2e2 commit 9705d27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/docs/context.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ Requires a [function as a child](/docs/render-props.html#using-props-other-than-
201201

202202
Context object accepts a `displayName` string property. React DevTools uses this string to determine what to display for the context.
203203

204-
For example, the following component will appear as MyContext in the DevTools:
204+
For example, the following component will appear as MyDisplayName in the DevTools:
205205

206206
```js{2}
207207
const MyContext = React.createContext(/* some value */);

0 commit comments

Comments
 (0)