Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
renderScript = (name, script) => {
const hex = scriptToHex(script);
const ops = scriptToOps(script);
return (
{name}
<code>{hex}</code>
<code>{ops}</code>
);
}