Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
onDecorated(term) {
if (!term) {
return;
}
if (this.props.onDecorated) {
this.props.onDecorated(term);
}
if (term.term) {
ligatures.enableLigatures(term.term);
}
}