fix(v2): add missed const

This commit is contained in:
Alexey Pyltsyn 2020-03-18 13:34:02 +03:00
parent 51995fa237
commit 6a089ce75c

View file

@ -38,6 +38,7 @@ function Layout(props) {
} = props;
const metaTitle = title ? `${title} | ${siteTitle}` : siteTitle;
const metaImage = image || defaultImage;
let metaImageUrl = siteUrl + useBaseUrl(metaImage);
if (!isInternalUrl(metaImage)) {
metaImageUrl = metaImage;