use aria current

This commit is contained in:
btzr-io 2021-07-15 11:03:31 -05:00 committed by jessopb
parent 504f230d59
commit 4d28c5d208

View file

@ -352,7 +352,7 @@ const ClaimPreview = forwardRef<any, {}>((props: Props, ref: any) => {
{pending ? ( {pending ? (
<ClaimPreviewTitle uri={uri} /> <ClaimPreviewTitle uri={uri} />
) : ( ) : (
<NavLink {...navLinkProps}> <NavLink aria-current={active && 'page'} {...navLinkProps}>
<ClaimPreviewTitle uri={uri} /> <ClaimPreviewTitle uri={uri} />
</NavLink> </NavLink>
)} )}