Alexey Pyltsyn
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
beta/src/components/Search.tsx
|
|
@ -42,7 +42,6 @@ const options = { |
|
|
|
appId: siteConfig.algolia.appId, |
|
|
|
apiKey: siteConfig.algolia.apiKey, |
|
|
|
indexName: siteConfig.algolia.indexName, |
|
|
|
rednerModal: true, |
|
|
|
}; |
|
|
|
let DocSearchModal: any = null; |
|
|
|
export const Search: React.FC<SearchProps> = ({ |
|
|
@ -120,6 +119,7 @@ export const Search: React.FC<SearchProps> = ({ |
|
|
|
createPortal( |
|
|
|
<DocSearchModal |
|
|
|
{...options} |
|
|
|
initialScrollY={window.scrollY} |
|
|
|
searchParameters={searchParameters} |
|
|
|
onClose={onClose} |
|
|
|
navigator={{ |
|
|
|