Skip to content

Commit 1917968

Browse files
committed
Add missing closing paren in HOC guideline
As pointed out by eagle-eyed @pepakriz.
1 parent 0165c13 commit 1917968

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

react/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@
119119
return <Component {...props} foo />;
120120
}
121121
122-
WithFoo.displayName = `withFoo(${Component.displayName || Component.name}`;
122+
WithFoo.displayName = `withFoo(${Component.displayName || Component.name})`;
123123
return WithFoo;
124124
}
125125
```

0 commit comments

Comments
 (0)