1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-28 15:22:05 +03:00

fix test stub

This commit is contained in:
Michael Telatynski
2020-08-29 13:02:45 +01:00
parent 517dee413e
commit c120458b81

View File

@ -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>;
};
}