mirror of
https://github.com/airbnb/javascript.git
synced 2026-04-25 03:00:19 -04:00
Add missing closing paren in HOC guideline
As pointed out by eagle-eyed @pepakriz.
This commit is contained in:
@@ -119,7 +119,7 @@
|
||||
return <Component {...props} foo />;
|
||||
}
|
||||
|
||||
WithFoo.displayName = `withFoo(${Component.displayName || Component.name}`;
|
||||
WithFoo.displayName = `withFoo(${Component.displayName || Component.name})`;
|
||||
return WithFoo;
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user