mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
Update post-menu-desktop.tsx
This commit is contained in:
@@ -90,7 +90,6 @@ type PostMenuDesktopProps = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const PostMenuDesktop = ({ postMenu }: PostMenuDesktopProps) => {
|
const PostMenuDesktop = ({ postMenu }: PostMenuDesktopProps) => {
|
||||||
console.log('postMenu rerender', postMenu);
|
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
const { authorAddress, cid, isDescription, isRules, link, thumbnailUrl, linkWidth, linkHeight, postCid, subplebbitAddress } = postMenu || {};
|
const { authorAddress, cid, isDescription, isRules, link, thumbnailUrl, linkWidth, linkHeight, postCid, subplebbitAddress } = postMenu || {};
|
||||||
const commentMediaInfo = getCommentMediaInfo(link || '', thumbnailUrl || '', linkWidth ?? 0, linkHeight ?? 0);
|
const commentMediaInfo = getCommentMediaInfo(link || '', thumbnailUrl || '', linkWidth ?? 0, linkHeight ?? 0);
|
||||||
|
|||||||
Reference in New Issue
Block a user