diff --git a/src/components/post/comment-tools/comment-tools.tsx b/src/components/post/comment-tools/comment-tools.tsx
index 2da09501..1dddda96 100644
--- a/src/components/post/comment-tools/comment-tools.tsx
+++ b/src/components/post/comment-tools/comment-tools.tsx
@@ -125,7 +125,13 @@ const ReplyTools = ({
}: CommentToolsProps) => {
const { t } = useTranslation();
- const permalink = failed ? permalink : permalink;
+ const permalink = failed ? (
+ permalink
+ ) : (
+ !cid && e.preventDefault()}>
+ permalink
+
+ );
return (
<>
@@ -165,7 +171,13 @@ const SingleReplyTools = ({
const hasContext = parentCid !== postCid;
- const permalinkButton = cid ? permalink : permalink;
+ const permalinkButton = cid ? (
+ !cid && e.preventDefault()}>
+ permalink
+
+ ) : (
+ permalink
+ );
const contextButton = cid ? (
{t('context')}