Skip to content

Commit

Permalink
fix(sankey): Fix issue with gradient and parentheses in IDs (#1152)
Browse files Browse the repository at this point in the history
Closes #1150
  • Loading branch information
JonathanPicques committed Oct 10, 2020
1 parent 52c1bc1 commit 56f0e44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/sankey/src/SankeyLinksItem.js
Expand Up @@ -129,7 +129,7 @@ const SankeyLinksItem = ({
/>
)}
<animated.path
fill={enableGradient ? `url(#${encodeURI(linkId)})` : animatedProps.color}
fill={enableGradient ? `url("#${encodeURI(linkId)}")` : animatedProps.color}
d={animatedProps.path}
fillOpacity={animatedProps.opacity}
onMouseEnter={isInteractive ? handleMouseEnter : undefined}
Expand Down

0 comments on commit 56f0e44

Please sign in to comment.