Skip to content

Commit

Permalink
fix: Correct parent image reference to use item image in ForceDirecte…
Browse files Browse the repository at this point in the history
…dGraph component for accurate rendering
  • Loading branch information
bramses committed Jan 13, 2025
1 parent 8db7505 commit 0c300aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ForceDirectedGraph.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ const ForceDirectedGraph: React.FC<ForceDirectedGraphProps> = ({
id: item.parent.id,
label: item.parent.data,
group: defaultGroup, // or 'parent', or however you want to label them
image: item.parent.image,
image: item.image,
title: item.parent.title,
author: item.parent.author,
comments: item.parent.comments,
Expand Down

0 comments on commit 0c300aa

Please sign in to comment.