Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
relatedArticlesVisible,
spotAccountId,
topics
}) => {
/* Nativo insert Sponsored Articles after the div#sponsored-article element. They are not able to insert directly into that element hence the container div */
const sponsoredArticles = (
<div id="sponsored-article-container">
<div id="sponsored-article">
</div>
);
return (
<div style="{clearingStyle}">
{(savingEnabled || sharingEnabled) && (
{({ showMessage }) => (
showMessage("Article link copied")}
onSaveToMyArticles={() => {}}
onShareOnEmail={() => {}}
savingEnabled={savingEnabled}
sharingEnabled={sharingEnabled}
/>
)}
</div></div>
>
<header width="{articleWidth}">
{savingEnabled || sharingEnabled ? (
{({ showMessage }) => (
showMessage("Article link copied")
}
onSaveToMyArticles={() => {}}
onShareOnEmail={() => {}}
savingEnabled={savingEnabled}
sharingEnabled={sharingEnabled}
/>
)}
</header>
const ShowTopics = ({ topics }) => {
if (topics && topics.length > 0) {
return (
<nav>
</nav>
);
}
return null;
};