chore(link): remove comment

This commit is contained in:
Junior Garcia 2023-05-24 23:58:45 -03:00
parent 5b9d85e098
commit f8137b04fa

View File

@ -64,14 +64,6 @@ export function useLink(originalProps: UseLinkProps) {
otherProps.target = otherProps.target ?? "_blank"; otherProps.target = otherProps.target ?? "_blank";
} }
/**
* if (as !== "a") {
* otherProps.role = "link";
* }
* This logic handled by @react-aria/link.
* See: https://github.com/adobe/react-spectrum/blob/5a3315f560071087cacf846bd2a86d8f47692446/packages/%40react-aria/link/src/useLink.ts#L55
*/
const classNames = useMemo( const classNames = useMemo(
() => () =>
link({ link({