You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get this warning when adding the plugin in docusaurus v2.1.0
[Autocomplete] You provided the 'render' option but did not provide a 'renderer.render'. Since v1.6.0, you can provide a 'render' function directly in 'renderer'.
To get rid of this warning, do any of the following depending on your use case.
- If you are using the 'render' option only to override Autocomplete's default 'render' function, pass the 'render' function into 'renderer' and remove the 'render' option.
- If you are using the 'render' option to customize the layout, pass your 'render' function into 'renderer' and use it from the provided parameters of the 'render' option.
- If you are using the 'render' option to work with React 18, pass an empty 'render' function into 'renderer'.
See https://www.algolia.com/doc/ui-libraries/autocomplete/api-reference/autocomplete-js/autocomplete/#param-render
Please describe the bug you are seeing
I get this warning when adding the plugin in docusaurus v2.1.0
How can we best reproduce the bug?
go to https://codesandbox.io/s/gallant-sara-ietpq9?file=/package.json
Which version of Docusaurus and @cmfcmf/docusaurus-search-local are you using?
[email protected] /Users/xxxx/xxxx/docusaurus/moderskeppet-docs
├─┬ @cmfcmf/[email protected]
│ └── @docusaurus/[email protected] deduped
├── @docusaurus/[email protected]
└─┬ @docusaurus/[email protected]
├── @docusaurus/[email protected] deduped
├─┬ @docusaurus/[email protected]
│ └── @docusaurus/[email protected] deduped
├─┬ @docusaurus/[email protected]
│ └── @docusaurus/[email protected] deduped
├─┬ @docusaurus/[email protected]
│ └── @docusaurus/[email protected] deduped
├─┬ @docusaurus/[email protected]
│ └── @docusaurus/[email protected] deduped
├─┬ @docusaurus/[email protected]
│ └── @docusaurus/[email protected] deduped
├─┬ @docusaurus/[email protected]
│ └── @docusaurus/[email protected] deduped
├─┬ @docusaurus/[email protected]
│ └── @docusaurus/[email protected] deduped
├─┬ @docusaurus/[email protected]
│ └── @docusaurus/[email protected] deduped
└─┬ @docusaurus/[email protected]
└── @docusaurus/[email protected] deduped
Which Node.js version are you using?
v16.14.0
Which theme are you using?
Yes, I am using @docusaurus/theme-classic
How does your plugin config look like?
Additional context
Also reported as a bug to facebook/docusaurus#8178
The text was updated successfully, but these errors were encountered: