diff --git a/docs/src/components/Header/Search.tsx b/docs/src/components/Header/Search.tsx index a3e419b3b..7b8532a81 100644 --- a/docs/src/components/Header/Search.tsx +++ b/docs/src/components/Header/Search.tsx @@ -9,7 +9,7 @@ export default function Search(props) { const [isOpen, setIsOpen] = useState(false); const searchButtonRef = useRef(); const [initialQuery, setInitialQuery] = useState(null); - const {lang = 'en'} = props; + const { lang = 'en' } = props; const onOpen = useCallback(() => { setIsOpen(true);