diff --git a/src/components/common/Link/index.tsx b/src/components/common/Link/index.tsx index afe3ee8be..22d77b9bb 100644 --- a/src/components/common/Link/index.tsx +++ b/src/components/common/Link/index.tsx @@ -8,7 +8,9 @@ const LinkComponent = ( ) => { const handleClick = (e: MouseEvent) => { if (props.onClick) { - e.preventDefault(); + if (!props.href) { + e.preventDefault(); + } props.onClick(); } };