[ci] yarn format
This commit is contained in:
parent
e0c3318c09
commit
b67779d1dd
2 changed files with 7 additions and 6 deletions
|
@ -13,8 +13,8 @@ export default /** @type {import('astro').AstroUserConfig} */ ({
|
|||
resolve: {
|
||||
alias: {
|
||||
'~': '/src',
|
||||
'components': '/src/components',
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
components: '/src/components',
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue