mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix undefined
This commit is contained in:
@@ -344,7 +344,7 @@ const ReplyDesktop = ({ reply, roles, openReplyModal }: PostProps) => {
|
|||||||
{isReplyingToReply && (
|
{isReplyingToReply && (
|
||||||
<>
|
<>
|
||||||
<Link to={`/p/${subplebbitAddress}/c/${parentCid}`} className={styles.quoteLink}>
|
<Link to={`/p/${subplebbitAddress}/c/${parentCid}`} className={styles.quoteLink}>
|
||||||
{`c/${Plebbit.getShortCid(parentCid)}`}
|
{`c/${parentCid && Plebbit.getShortCid(parentCid)}`}
|
||||||
</Link>
|
</Link>
|
||||||
<br />
|
<br />
|
||||||
</>
|
</>
|
||||||
@@ -576,7 +576,7 @@ const ReplyMobile = ({ reply, roles, openReplyModal }: PostProps) => {
|
|||||||
{isReplyingToReply && (
|
{isReplyingToReply && (
|
||||||
<>
|
<>
|
||||||
<Link to={`/p/${subplebbitAddress}/c/${parentCid}`} className={styles.quoteLink}>
|
<Link to={`/p/${subplebbitAddress}/c/${parentCid}`} className={styles.quoteLink}>
|
||||||
{`c/${Plebbit.getShortCid(parentCid)}`}
|
{`c/${parentCid && Plebbit.getShortCid(parentCid)}`}
|
||||||
</Link>
|
</Link>
|
||||||
<br />
|
<br />
|
||||||
</>
|
</>
|
||||||
|
|||||||
Reference in New Issue
Block a user