Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
<a>{data[locale.language].menuAboutUs}</a>
{children}
<hr>
);
Layout.propTypes = {
children: PropTypes.node,
locale: localeShape.isRequired,
siteLocales: PropTypes.arrayOf(PropTypes.string.isRequired).isRequired
};
export default withLocale(Layout);
<a style="{style}">
</a>
);
})}
);
LanguagePicker.propTypes = {
locale: localeShape.isRequired,
siteLocales: PropTypes.arrayOf(PropTypes.string.isRequired).isRequired
};
export default withLocale(LanguagePicker);
}
return (
<a style="{style}">{data[language].language}</a>
);
})}
);
LanguagePicker.propTypes = {
locale: localeShape.isRequired,
siteLocales: PropTypes.arrayOf(PropTypes.string.isRequired).isRequired
};
export default withLocale(LanguagePicker);