Browse Source

Add window parent to docsearch in order to pass CI

main
Lucas Lentz 7 years ago
parent
commit
b19ea6b39b
  1. 2
      src/components/DocSearch/DocSearch.js

2
src/components/DocSearch/DocSearch.js

@ -16,7 +16,7 @@ class DocSearch extends Component {
// TODO Is this expensive? Should it be deferred until a user is about to search?
// eslint-disable-next-line no-undef
if (window.docsearch) {
docsearch({
window.docsearch({
apiKey: '36221914cce388c46d0420343e0bb32e',
indexName: 'react',
inputSelector: '#algolia-doc-search',

Loading…
Cancel
Save