Add return statement - fixes
@@ -149,6 +149,7 @@ class WonPetrinetState extends React.Component {
if (this.props.hasEnabledTransitions) {
enabledTransitionsElement = this.props.enabledTransitionsArray.map(
(enabledTransition, index) => {
+ return (
<div
className="ps__active__enabledTransition"
key={index + "-" + enabledTransition}
@@ -168,7 +169,8 @@ class WonPetrinetState extends React.Component {
>
Claim
</button>
- </div>;
+ </div>
+ );
}
);
} else {
