diff --git a/src/components/MarkdownPage/MarkdownPage.js b/src/components/MarkdownPage/MarkdownPage.js
index 9214552b..4e4e082f 100644
--- a/src/components/MarkdownPage/MarkdownPage.js
+++ b/src/components/MarkdownPage/MarkdownPage.js
@@ -15,7 +15,7 @@ import TitleAndMetaTags from 'components/TitleAndMetaTags';
import findSectionForPath from 'utils/findSectionForPath';
import toCommaSeparatedList from 'utils/toCommaSeparatedList';
import {sharedStyles} from 'theme';
-import createOgUrl from 'utils/createOgUrl';
+import createCanonicalUrl from 'utils/createCanonicalUrl';
import type {Node} from 'types';
@@ -74,7 +74,7 @@ const MarkdownPage = ({
}}>
diff --git a/src/pages/versions.js b/src/pages/versions.js index 2dd95976..c4e3532b 100644 --- a/src/pages/versions.js +++ b/src/pages/versions.js @@ -10,6 +10,7 @@ import Container from 'components/Container'; import Header from 'components/Header'; import TitleAndMetaTags from 'components/TitleAndMetaTags'; import React from 'react'; +import {urlRoot} from 'site-constants'; import {sharedStyles} from 'theme'; // $FlowFixMe This is a valid path @@ -25,7 +26,10 @@ const Versions = ({location}: Props) => (
A complete release history for React is available{' '} diff --git a/src/utils/createOgUrl.js b/src/utils/createCanonicalUrl.js similarity index 100% rename from src/utils/createOgUrl.js rename to src/utils/createCanonicalUrl.js