We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 833e3b1 commit 36dad29Copy full SHA for 36dad29
packages/dev/docs/src/client.js
@@ -251,7 +251,7 @@ function DocSearch() {
251
if (key) {
252
let prediction = predictions.find(prediction => key === prediction.objectID);
253
let url = prediction.url;
254
- window.location.href = `..${window.location.hostname === 'reactspectrum.blob.core.windows.net' ? '/docs' : ''}${url.replace('https://react-spectrum.adobe.com', '')}`;
+ window.location.href = `/${window.location.hostname === 'reactspectrum.blob.core.windows.net' ? 'docs' : ''}${url.replace('https://react-spectrum.adobe.com/', '')}`;
255
}
256
};
257
0 commit comments