diff --git a/src/app.tsx b/src/app.tsx index 0a1fd3f9..6315d629 100644 --- a/src/app.tsx +++ b/src/app.tsx @@ -58,29 +58,39 @@ function App() { } /> } /> + } /> } /> + } /> } /> - } /> - } /> - } /> - } /> - } /> - } /> - } /> - } /> + + } /> + } /> + } /> + } /> + } /> + + } /> + } /> + } /> } /> + } /> } /> + } /> } /> + } /> + } /> } /> + } /> + } /> diff --git a/src/components/reply/reply.tsx b/src/components/reply/reply.tsx index a77456c6..ebdd0c6e 100644 --- a/src/components/reply/reply.tsx +++ b/src/components/reply/reply.tsx @@ -37,10 +37,7 @@ const ReplyAuthor = ({ address, authorRole, cid, displayName, shortAuthorAddress return ( <> {displayName && {displayName}} - + {displayName ? `u/${shortAuthorAddress}` : shortAuthorAddress} {authorRole && ( @@ -131,21 +128,7 @@ const ParentLink = ({ reply }: { reply: Comment }) => { }; const Reply = ({ depth = 0, isSingle, reply = {} }: ReplyProps) => { - const { - author, - cid, - content, - downvoteCount, - flair, - link, - linkHeight, - linkWidth, - removed, - spoiler, - subplebbitAddress, - timestamp, - upvoteCount, - } = reply || {}; + const { author, cid, content, downvoteCount, flair, link, linkHeight, linkWidth, removed, spoiler, subplebbitAddress, timestamp, upvoteCount } = reply || {}; const subplebbit = useSubplebbit({ subplebbitAddress }); const authorRole = subplebbit?.roles?.[reply.author.address]?.role; diff --git a/src/components/sidebar/sidebar.tsx b/src/components/sidebar/sidebar.tsx index 0c9435ff..b1d460ba 100644 --- a/src/components/sidebar/sidebar.tsx +++ b/src/components/sidebar/sidebar.tsx @@ -92,7 +92,7 @@ const Sidebar = ({ address, cid, createdAt, description, downvoteCount = 0, role const alertAnonymousCreator = () => { alert('This community has no owner role set.'); - } + }; return (
diff --git a/src/views/author/author.tsx b/src/views/author/author.tsx index 8dcd3e20..1a8c7bff 100644 --- a/src/views/author/author.tsx +++ b/src/views/author/author.tsx @@ -26,7 +26,7 @@ const Author = () => { const Footer = () => { return hasMore ? : null; - } + }; const virtuosoRef = useRef(null);