Skip to content

Commit 4f171ea

Browse files
committed
adding native.js to point to native lib and updating inject displayname
1 parent 6dd346c commit 4f171ea

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

native.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = require('./lib/native');

src/components/createInject.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export default function createInject(React) {
3131

3232
return function wrapWithInject(WrappedComponent) {
3333
class Inject extends Component {
34-
static displayName = `Inject(${getDisplayName(WrappedComponent)})`;
34+
static displayName = `inject(${getDisplayName(WrappedComponent)})`;
3535
static WrappedComponent = WrappedComponent;
3636

3737
static contextTypes = {

0 commit comments

Comments
 (0)