fix(autocomplete): incorrect prop name in getEmptyPopoverProps (#2716)

* fix(autocomplete): incorrect prop name in getEmptyPopoverProps

* chore(changeset): update changeset message
This commit is contained in:
աӄա 2024-04-15 22:07:56 +08:00 committed by GitHub
parent abf532b548
commit 25640e42ff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 1 deletions

View File

@ -0,0 +1,5 @@
---
"@nextui-org/autocomplete": patch
---
Fixes incorrect prop name in getEmptyPopoverProps (#2715)

View File

@ -404,7 +404,7 @@ export function useAutocomplete<T extends object>(originalProps: UseAutocomplete
// avoid null node in `ariaHideOutside` from `@react-aria/overlays`
return {
ref: popoverRef,
classNames: "hidden",
className: "hidden",
};
};