[Autocomplete] Error: (0 , _mui_base_useAutocomplete__WEBPACK_IMPORTED_MODULE_2__.useAutocomplete) is not a function #727
Labels
component: autocomplete
This is the name of the generic UI component, not the React module!
package: @mui/base (legacy)
Steps to reproduce
Link to live example: link
Steps:
npm run dev
Current behavior
Expected behavior
No error.
Context
Use
useAutocomplete
to build aSearch
component. However, the example provided in the doc fails with Next.js.Your environment
npx @mui/envinfo
Search keywords: useAutocomplete, next.js
The text was updated successfully, but these errors were encountered: