fix test stub
This commit is contained in:
parent
517dee413e
commit
c120458b81
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ import React from 'react';
|
|||
export default function({displayName = "StubComponent", render} = {}) {
|
||||
if (!render) {
|
||||
render = function() {
|
||||
return <div>{ this.displayName }</div>;
|
||||
return <div>{ displayName }</div>;
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue