diff options
Diffstat (limited to 'docs/src')
-rw-r--r-- | docs/src/components/Header/Search.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/src/components/Header/Search.tsx b/docs/src/components/Header/Search.tsx index 4ca7b4ef1..6236b5806 100644 --- a/docs/src/components/Header/Search.tsx +++ b/docs/src/components/Header/Search.tsx @@ -5,7 +5,8 @@ import * as docsearch from '@docsearch/react'; import '@docsearch/css/dist/style.css'; import './Search.css'; -const { DocSearchModal, useDocSearchKeyboardEvents } = ((docsearch as unknown as { default: typeof docsearch }).default || docsearch) +const { DocSearchModal, useDocSearchKeyboardEvents } = + (docsearch as unknown as { default: typeof docsearch }).default || docsearch; export default function Search(props) { const [isOpen, setIsOpen] = useState(false); |