change canonical to canonicalUrl for keeping it consistent

This commit is contained in:
Onur Geneş committed 2022-01-18 20:13:24 +03:00
1 parent 45d6228868
commit 1835cca296
5 files changed
+7 -8

No files matched your search

-1
View File
@@ -27,7 +27,6 @@ const CommonSEO = ({ title, description, ogType, ogImage, twImage, canonicalUrl
<link
rel="canonical"
href={canonicalUrl ? canonicalUrl : `${siteMetadata.siteUrl}${router.asPath}`}
key={'canonicalUrl'}
/>
</Head>
)