Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
render() {
const {selectedColor, isConfiguring} = this.state;
if (isConfiguring) {
return this.renderConfiguration();
}
return (
<div>
{selectedColor
? <h1 style="{{color:">{sayHello()}</h1>
: (
)}
</div>
);
}
}