From 88ab2db091b15bc6ca2e2ac1fd89509761aa1ba9 Mon Sep 17 00:00:00 2001 From: madura Date: Wed, 11 Sep 2019 20:52:18 +0530 Subject: [PATCH] roll back --- src/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.js b/src/index.js index 813cacb..0f5994f 100644 --- a/src/index.js +++ b/src/index.js @@ -334,7 +334,7 @@ class Wizard extends React.Component { {this.props.steps.map((prop, key) => { - + const Component = React.forwardRef(prop.component); return ( {typeof prop.component === "function" || typeof prop.component === "object" ? ( -