Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
notSelected = ();
} else {
const lang = new URLSearchParams(window.location.search).get('language') || 'en';
form = (
0 ? '&' : '?'}language=${lang}`}
triggerURL={`/api/v1/application/action`}
lang={lang}
customTriggers={registry}
/>
);
if (props.submitted) {
const configuration = kit.flatten(props.uiSpec.properties);
submitted = (
<div>
<pre>{JSON.stringify(configuration, undefined, 2)}</pre>
</div>
);
}
}
return (
<div>
<div>
{notSelected}
{form}
</div>
<div>
{submitted}
</div></div>