CompleteUserRegistration.tsx 739 B

1234567891011121314151617181920212223
  1. import React, { FC } from 'react';
  2. import { useTranslation } from 'next-i18next';
  3. export const CompleteUserRegistration: FC = () => {
  4. const { t } = useTranslation();
  5. return (
  6. <div className="nologin-dialog mx-auto" id="nologin-dialog">
  7. <div className="row mx-0">
  8. <div className="col-12 mb-3 text-center">
  9. <p className="alert alert-success">
  10. <span>{t('login.registration_successful')}</span>
  11. </p>
  12. {/* If the transition source is "/login", use <a /> tag since the transition will not occur if next/link is used. */}
  13. <a href="/login">
  14. <i className="icon-login mr-1" />{t('Sign in is here')}
  15. </a>
  16. </div>
  17. </div>
  18. </div>
  19. );
  20. };