Add missing closing paren in HOC guideline

As pointed out by eagle-eyed @pepakriz.
This commit is contained in:
Joe Lencioni
2016-07-27 09:50:49 -07:00
parent 0165c13845
commit 1917968acb

View File

@@ -119,7 +119,7 @@
return <Component {...props} foo />;
}
WithFoo.displayName = `withFoo(${Component.displayName || Component.name}`;
WithFoo.displayName = `withFoo(${Component.displayName || Component.name})`;
return WithFoo;
}
```