Skip to content

Commit

Permalink
Ensure root is present
Browse files Browse the repository at this point in the history
  • Loading branch information
AustinKelsay committed Apr 19, 2024
1 parent 735571f commit 82fddf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/item-info.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ export default function ItemInfo ({
{item && item.mine && !item.noteId && !item.isJob && !item.parentId &&
<CrosspostDropdownItem item={item} />}
{/* for crosspost replies */}
{item && item.mine && !item.noteId && root.noteId && isParentCrossposted &&
{root && item && item.mine && !item.noteId && root.noteId && isParentCrossposted &&
<CrosspostDropdownItem item={item} />}
{me && !item.position &&
!item.mine && !item.deletedAt &&
Expand Down

0 comments on commit 82fddf2

Please sign in to comment.