Skip to content

Commit

Permalink
hotfix 2
Browse files Browse the repository at this point in the history
  • Loading branch information
theosanderson committed Sep 26, 2024
1 parent e0cc330 commit c442ade
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion taxonium_component/src/components/Key.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ const Key = ({
</h3>

{!collapsed &&
(colorByField in colorRamps ? (
((colorRamps && colorByField in colorRamps) ? (
<ColorRamp ramp={colorRamps[colorByField]} />
) : (
<KeyContent
Expand Down

0 comments on commit c442ade

Please sign in to comment.