diff --git a/src/components/views/Board.jsx b/src/components/views/Board.jsx index 200307e4..c3eea593 100644 --- a/src/components/views/Board.jsx +++ b/src/components/views/Board.jsx @@ -58,9 +58,6 @@ const Board = () => { useError(errorMessage, [errorMessage]); useSuccess(successMessage, [successMessage]); - console.log(selectedFeed); - - // temporary title from JSON, gets subplebbitAddress from URL useEffect(() => { setSelectedAddress(subplebbitAddress); @@ -624,24 +621,27 @@ const Board = () => { ) : null} {reply.content ? ( - reply.content.length > 500 ? - -
- - (...) -

- Comment too long.  - setSelectedThread(thread.cid)} className="ttl-link">Click here -  to view.
-
-
- :
+ reply.content.length > 500 ? + +
{}}> {`c/${shortParentCid}`}{
} - -
) - : null} + + (...) +

+ Comment too long.  + setSelectedThread(thread.cid)} className="ttl-link">Click here +  to view.
+
+ + :
+ {}}> + {`c/${shortParentCid}`}{
} + + +
) + : null} ) @@ -736,27 +736,27 @@ const Board = () => { ) : null} {thread.content ? ( - thread.content.length > 500 ? - -
- - (...) -

- Post too long.  - setSelectedThread(thread.cid)} className="ttl-link">Click here -  to view.
-
-
- :
- -
) - : null} + thread.content.length > 500 ? + +
+ + (...) +

+ Post too long.  + setSelectedThread(thread.cid)} className="ttl-link">Click here +  to view.
+
+
+ :
+ +
) + : null}
{ - thread.replyCount == 0 ? + thread.replyCount === 0 ? ("No replies") - : thread.replyCount == 1 ? + : thread.replyCount === 1 ? ("1 reply") : thread.replyCount > 1 ? (thread.replyCount + " replies") @@ -807,7 +807,7 @@ const Board = () => {
{reply.link ? ( -
+
{replyMediaInfo?.url ? ( replyMediaInfo.type === "webpage" ? ( @@ -843,6 +843,9 @@ const Board = () => { reply.content.length > 500 ?
+ {}}> + {`c/${shortParentCid}`}{
} + (...)