{emailHostSettings(config, setConfig)}
{config.popup_type !== 'none' ? (
{
const popup_screenshot_base64 = await toBase64(e.target.files[0]);
setConfig((v) => ({
...v,
popup_screenshot_base64,
}));
},
}}
/>
) : (
''
)}
{config.popup_action === 'closed' ? (
setConfig((v) => ({
...v,
popup_closed_how: e.target.value,
}))
}
/>
) : (
''
)}
{config.popup_type !== 'none' ? (
setConfig((v) => ({
...v,
popup_mentions_passive_consent: e.target.checked,
}))
}
/>
) : (
''
)}
{config.popup_mentions_passive_consent ? (
setConfig((v) => ({
...v,
popup_passive_consent_text: e.target.value,
}))
}
/>
) : (
''
)}
);
}