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) { if (response.ok) {
const data = await response.json(); const data = await response.json();
setPage(data); setPage(data);
return (document.title = `${data.title} | SVRJS`); return (document.title = `${data.title} Change Log | SVRJS`);
} else { } else {
if (response.status === 404) { if (response.status === 404) {
setNotFound(true); setNotFound(true);