Skip to content

Commit

Permalink
Update CustomEdgePath.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
tubarao312 committed Feb 27, 2024
1 parent 9dba522 commit 67fcd9c
Showing 1 changed file with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,11 @@ const CustomEdgePath = ({
)}
<circle
className={clsx(
edgeHandleID === "a" ? "fill-blue-400" : "fill-orange-400",
riskVisionColors
? riskVisionColors.fillColor
: edgeHandleID === "a"
? "fill-blue-400"
: "fill-orange-400",
)}
cx="0"
cy="0"
Expand All @@ -152,7 +156,11 @@ const CustomEdgePath = ({
<circle
className={clsx(
"animate-ping",
edgeHandleID === "a" ? "fill-blue-400" : "fill-orange-400",
riskVisionColors
? riskVisionColors.fillColor
: edgeHandleID === "a"
? "fill-blue-400"
: "fill-orange-400",
)}
cx="0"
cy="0"
Expand Down

0 comments on commit 67fcd9c

Please sign in to comment.