Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export const Main: React.FunctionComponent = () => {
const [settings, isLoading] = useEffectWithLoading(resolveAppSettings, {}, []);
React.useEffect(() => {
if (settings && settings.recaptcha) {
if (settings.recaptcha.siteKey !== '') {
loadReCaptcha();
}
}
}, [settings]);
if (isLoading) {
return (
Loading Passcore...