Could you please have a look at this?
Warning: The component appears to be a function component that returns a class instance. Change Step to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. Step.prototype = React.Component.prototype. Don't use an arrow function since it cannot be called with new by React.
Hi all,
Could you please have a look at this? Warning: The component appears to be a function component that returns a class instance. Change Step to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround.
Step.prototype = React.Component.prototype
. Don't use an arrow function since it cannot be called withnew
by React.Kind Regards, Brecht