-
Notifications
You must be signed in to change notification settings - Fork 394
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: use vite instead of parcel in the examples #2329
Conversation
✅ Deploy Preview for docsearch ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks incredible, gg
@@ -62,7 +62,8 @@ export function DocSearch(props: DocSearchProps) { | |||
|
|||
const onClose = React.useCallback(() => { | |||
setIsOpen(false); | |||
}, [setIsOpen]); | |||
setInitialQuery(props?.initialQuery); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
was this to fix the issue of the character leftover?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes ! but in only works for the playground, for the website this is done inside docusaurus directly so I will port the bug fix there
Parcel would delete some random file like
identity
because it though it was not used,vite
is smarter.Also remove unused imports