From c120458b813617b5e98864470a855e4acc0c99c0 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Sat, 29 Aug 2020 13:02:45 +0100 Subject: [PATCH] fix test stub --- test/components/stub-component.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/components/stub-component.js b/test/components/stub-component.js index 72ffde3483..e242c06707 100644 --- a/test/components/stub-component.js +++ b/test/components/stub-component.js @@ -6,7 +6,7 @@ import React from 'react'; export default function({displayName = "StubComponent", render} = {}) { if (!render) { render = function() { - return
{ this.displayName }
; + return
{ displayName }
; }; }