Add Helmet to manage email verification page title
Integrated the Helmet library in the 'verify_mail.tsx' component to handle setting the page title dynamically to "Email validation". This helps in improving page context for users and SEO. As part of the update, the page title has been set within the newly added Helmet wrapper.
This commit is contained in:
parent
d02df0e418
commit
f2d932bcd7
|
|
@ -1,6 +1,7 @@
|
|||
import {FC, useState} from "react";
|
||||
import {useLocation, useNavigate} from "react-router-dom";
|
||||
import './VerifyMail.css';
|
||||
import {Helmet} from "react-helmet";
|
||||
|
||||
interface VerificationData {
|
||||
eMail: string;
|
||||
|
|
@ -67,6 +68,9 @@ const VerifyMail: FC = () => {
|
|||
|
||||
return (
|
||||
<div className="container">
|
||||
<Helmet>
|
||||
<title>Email validation</title>
|
||||
</Helmet>
|
||||
<header>Email validation</header>
|
||||
<div className="content">
|
||||
<p>Hi, you just completed a form and need to verify your email ({email}).</p>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user