Skip to content
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(deps): Update and pin Autocomplete to the latest version #999

Merged
merged 4 commits into from
Mar 8, 2021

Conversation

shortcuts
Copy link
Member

@shortcuts shortcuts commented Mar 5, 2021

Summary

We introduced the required sourceId prop in algolia/autocomplete#429 and I assume that as the Autocomplete version wasn't pinned, the latest DocSearch version throw an error.

This implementation provides a default sourceId to the DocSearch sources.

Other improvements might be needed but this should fix the current issue.

@codesandbox-ci
Copy link

codesandbox-ci bot commented Mar 5, 2021

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 30a7a22:

Sandbox Source
Vanilla Configuration

Copy link
Member

@francoischalifour francoischalifour left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

packages/docsearch-react/src/DocSearchModal.tsx Outdated Show resolved Hide resolved
packages/docsearch-react/src/DocSearchModal.tsx Outdated Show resolved Hide resolved
Co-authored-by: François Chalifour <francoischalifour@users.noreply.github.com>
@shortcuts shortcuts merged commit 1421077 into next Mar 8, 2021
@shortcuts shortcuts deleted the fix/autocompleteVersion branch March 8, 2021 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants