mirror of
https://github.com/nextui-org/nextui.git
synced 2025-12-08 19:26:11 +00:00
* fix(link): correct props merge order in use-link to apply useHref * chore(link): add changeset * test(link): adjust href assertion to use getAttribute for compatibility * fix(link): use routerLinkProps.href in handleLinkClick for consistency * fix(link): process href with useHref before passing to useLinkProps * test(link): comment out useHref provider test * Revert "test(link): comment out useHref provider test" This reverts commit de053f835fa57becf6e807a64c17339fc61d8689. * Revert "fix(link): process href with useHref before passing to useLinkProps" This reverts commit 81e5f7b8d1ea7002b9718cf521b5c6f2af79ac42. * fix(provider): add `useHref` to provider context and integrate with `useLink` * test(link): comment out useHref provider test * fix(link): correct href handling in link component and update tests * fix(link): simplify props handling by removing resolvedProps logic and reorder mergeProps usage * fix(provider): remove `useHref` from provider context and related logic * refactor(link): add spacing * chore(changeset): add issue numbers --------- Co-authored-by: WK Wong <wingkwong.code@gmail.com>
116 B
116 B
| @heroui/link |
|---|
| patch |
Fix an issue where the useHref was not being applied correctly (#5925, #5431, #5600)