fix component props

This commit is contained in:
2024-09-05 02:20:21 +08:00
parent ef23dda691
commit 803b6b8e10
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -6,11 +6,11 @@ const getTitle = () => {
const metaOgTitle = document.querySelector<HTMLMetaElement>(`meta[name="og:title"]`);
if (metaOgTitle) {
return metaOgTitle.getAttribute("content");;
return metaOgTitle.getAttribute("content");
}
if (metaTitle) {
return metaTitle.getAttribute("content");;
return metaTitle.getAttribute("content");
}
if (title.includes(" - ")) {