From 355f9fab5d08c19e85d78fa9b20f3ad20b8741a5 Mon Sep 17 00:00:00 2001 From: Andrei Dekterev Date: Thu, 23 Mar 2023 21:20:55 +0700 Subject: [PATCH] fix(#464): fix link to tournament on cardFrontSide --- src/features/ProfileLink/index.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/features/ProfileLink/index.tsx b/src/features/ProfileLink/index.tsx index 98d7a458..7fe865a3 100644 --- a/src/features/ProfileLink/index.tsx +++ b/src/features/ProfileLink/index.tsx @@ -45,7 +45,10 @@ export const ProfileLink = ({ to={url} className={className} target={target} - onClick={onClick} + onClick={(e) => { + e.stopPropagation() + onClick && onClick(e) + }} > {children}