diff --git a/website/core/Site.js b/website/core/Site.js index 19e3eaed0..bacea103b 100644 --- a/website/core/Site.js +++ b/website/core/Site.js @@ -17,6 +17,7 @@ var Site = React.createClass({ render: function() { const path = Metadata.config.RN_DEPLOYMENT_PATH; const version = Metadata.config.RN_VERSION; + const algoliaVersion = version === 'next' ? 'master' : version; var basePath = '/react-native/' + (path ? path + '/' : ''); var title = this.props.title ? this.props.title + ' – ' : ''; var currentYear = (new Date()).getFullYear(); @@ -68,6 +69,7 @@ var Site = React.createClass({
+