Update post-mobile.tsx

This commit is contained in:
Tom (plebeius.eth)
2024-09-20 16:16:09 +02:00
parent c58a6bceec
commit b3adb6c9a0
+1 -1
View File
@@ -51,7 +51,7 @@ const PostInfoAndMedia = ({ openReplyModal, post, postReplyCount = 0, roles }: P
const handleUserAddressClick = useAuthorAddressClick();
const numberOfPostsByAuthor = document.querySelectorAll(`[data-author-address="${shortAddress}"][data-post-cid="${postCid}"]`).length;
const userID = shortAddress;
const userID = address && Plebbit.getShortAddress(address);
const userIDBackgroundColor = hashStringToColor(userID);
const userIDTextColor = getTextColorForBackground(userIDBackgroundColor);