fix component props
This commit is contained in:
+2
-2
@@ -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(" - ")) {
|
||||
|
||||
Reference in New Issue
Block a user