fixup! Added email suppression FAQ modal

This commit is contained in:
e.baidakova 2022-11-30 18:29:22 +04:00 committed by James Morris
parent 23ded6fb67
commit 6b7d313415

View File

@ -6,16 +6,16 @@ export default function EmailSuppressedPage() {
const {onAction} = useContext(AppContext);
const onClose = () => {
onAction('switchPage', {page: 'emailSuppressed'});
onAction('switchPage', {page: 'emailSuppressed', lastPage: 'accountHome'});
};
return (
<div className="gh-email-suppressed-page">
<div className="gh-email-suppression-faq">
<header className='gh-portal-detail-header'>
<CloseButton onClick={onClose} />
</header>
<div className="gh-email-suppression-faq">
<div>
<h3>Why is my email disabled?</h3>
</div>
</div>