mirror of https://github.com/vector-im/riot-web
fix test stub
parent
517dee413e
commit
c120458b81
|
@ -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…
Reference in New Issue