[BUG] Links under "Your links" in the Statistics page are not clickable/do not redirect #10334
Description
Has this bug been raised before?
- I have checked "open" AND "closed" issues and this is not a duplicate
Where did you find this bug?
Production
Version of BioDrop (for example "v1.2.3")
v2.100.2
Description
When on the profile statistics page, the links under "Your links" are not clickable and do not redirect to that URL.
Steps to Reproduce
Steps to Reproduce:
- Go to your profile page.
- Click on Statistics to go there.
- Scroll down to the very end of the statistics until you see your links under "Your links".
- URLs under "Your links" are not clickable.
Screenshots
2024-04-12.21-05-45.mp4
Do you want to work on this issue?
Yes
If "yes" to above, please explain how you would technically implement this
under pages\account\statistics\index.js, inside:
<tbody className="divide-y divide-primary-low dark:divide-primary-medium bg-white dark:bg-primary-high"> {data.links && data.links.individual.map((link) => ( <tr key={link._id}> <td className="md:whitespace-nowrap py-4 pl-4 pr-3 text-sm font-medium text-primary-high dark:text-primary-low sm:pl-6 text-ellipsis overflow-hidden"> {session && session.accountType === "premium" && ( <Link href={
/account/statistics/link/${link._id}}> {link.url} </Link> )} {session && session.accountType === "free" && ( <>{link.url}</> )} </td> <td className="whitespace-nowrap px-3 py-4 text-sm text-primary-medium dark:text-primary-low"> {abbreviateNumber(link.clicks)} </td> </tr> ))} </tbody>
- Replace the Link component with an a tag using href attribute.