({ href }: Props)
| 6 | } |
| 7 | |
| 8 | export default function usePath({ href }: Props): string { |
| 9 | const { isSubDomainRouting, communityName, communityType } = useLinkContext(); |
| 10 | const path = CustomLinkHelper({ |
| 11 | communityType, |
| 12 | communityName, |
| 13 | isSubDomainRouting, |
| 14 | path: href, |
| 15 | }); |
| 16 | return path; |
| 17 | } |
no test coverage detected