title tag changed

This commit is contained in:
Cypro Freelance 2024-08-01 12:38:36 +05:30
parent ef59e67451
commit 99910b8c49

View file

@ -19,7 +19,7 @@ const Page = ({ params }: { params: { slug: string } }) => {
if (response.ok) {
const data = await response.json();
setPage(data);
return (document.title = `${data.title} | SVRJS`);
return (document.title = `${data.title} Change Log | SVRJS`);
} else {
if (response.status === 404) {
setNotFound(true);