[ci] yarn format

This commit is contained in:
jonathantneal 2021-11-11 17:11:01 +00:00 committed by GitHub Actions
parent e0c3318c09
commit b67779d1dd
2 changed files with 7 additions and 6 deletions

View file

@ -13,8 +13,8 @@ export default /** @type {import('astro').AstroUserConfig} */ ({
resolve: { resolve: {
alias: { alias: {
'~': '/src', '~': '/src',
'components': '/src/components', components: '/src/components',
} },
} },
} },
}) });

View file

@ -5,7 +5,8 @@ import * as docsearch from '@docsearch/react';
import '@docsearch/css/dist/style.css'; import '@docsearch/css/dist/style.css';
import './Search.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) { export default function Search(props) {
const [isOpen, setIsOpen] = useState(false); const [isOpen, setIsOpen] = useState(false);