@@ -123,19 +142,15 @@ const ReplyModal = ({ closeModal, parentCid, scrollY }: ReplyModalProps) => {
/>
-
- {`c/${parentCid && Plebbit.getShortCid(parentCid)}`}
-
{!(isInAllView || isInSubscriptionsView) && offlineAlert}
@@ -143,7 +158,7 @@ const ReplyModal = ({ closeModal, parentCid, scrollY }: ReplyModalProps) => {
{url && (
<>
- {t('file_type')}: {' '}
+ {t('link_type')}: {' '}
>
)}
@@ -154,7 +169,9 @@ const ReplyModal = ({ closeModal, parentCid, scrollY }: ReplyModalProps) => {
]
-
+
diff --git a/src/hooks/use-reply-modal.ts b/src/hooks/use-reply-modal.ts
index d15cc2b1..81d3220b 100644
--- a/src/hooks/use-reply-modal.ts
+++ b/src/hooks/use-reply-modal.ts
@@ -1,34 +1,41 @@
-import { useState, useCallback } from 'react';
+import { useState } from 'react';
import useIsMobile from './use-is-mobile';
+import useSelectedTextStore from '../stores/use-selected-text-store';
const useReplyModal = () => {
const [showReplyModal, setShowReplyModal] = useState(false);
const [activeCid, setActiveCid] = useState