Devendra174's picture
Upload folder using huggingface_hub
1e92f2d verified
import { translate, fixMe } from 'i18n-calypso';
import EmptyContent from 'calypso/components/empty-content';
import TitanRedirector from 'calypso/my-sites/email/titan-redirector';
export default {
emailTitanAddMailboxes( pageContext, next ) {
pageContext.primary = (
<TitanRedirector
mode={ pageContext.params.mode }
jwt={ pageContext.query.jwt }
redirectUrl={ pageContext.query.redirect_url }
/>
);
next();
},
notFound( pageContext, next ) {
pageContext.primary = (
<EmptyContent
title={ fixMe( {
text: 'Page not found.',
newCopy: translate( 'Page not found.' ),
oldCopy: translate( 'Uh oh. Page not found.' ),
} ) }
line={ translate(
"Sorry, the page you were looking for doesn't exist or has been moved."
) }
/>
);
next();
},
};