Commit c8fcd195 authored by Karen Konou's avatar Karen Konou

[Forest] use unique IDs for user tooltips

parent 37a4d4d1
Pipeline #2515 failed with stage
in 0 seconds
......@@ -290,9 +290,9 @@ nodeLinkCpt = here.component "nodeLink" cpt
pure $
H.div { className: "node-link"
, on: { click } }
[ H.a { href, data: { for: tooltipId id, tip: true } }
[ H.a { href, data: { for: name <> "-" <> (tooltipId id), tip: true } }
[ nodeText { isSelected, name }
, ReactTooltip.reactTooltip { effect: "float", id: tooltipId id, type: "dark" }
, ReactTooltip.reactTooltip { effect: "float", id: name <> "-" <> (tooltipId id), type: "dark" }
[ R2.row
[ H.h4 {className: GT.fldr nodeType true}
[ H.text $ GT.prettyNodeType nodeType ]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment