Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
dispatch(updateDataset({ formation }));
}
function onLinkClick({ event }) {
const { uniqueCode } = dataset.formation.find(f => f.id === event.target.id);
if (uniqueCode === 0) return;
const { _uniqueCode } = characters.find(c => c._uniqueCode === uniqueCode);
window.open(bookDetailUrl + _uniqueCode, '_blank');
}
/**
* API DOC
* https://fkhadra.github.io/react-contexify/api/theme-and-animation
*/
return (
<main id="ctmenu">
Mercenary Info
Add Level
Clear Settings
{
/**
* Sample Code
Foo
Bar
*/
}
</main>
);