You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you add VictoryLegend to a project, without providing it any props, it throws the following error:
TypeError: Cannot read property 'map' of undefined
at VictoryLegend.getCalculatedProps (.../node_modules/victory-core/lib/victory-legend/victory-legend.js:129:19)
Seems it isn't receiving its default props as expected, and thus there are no props to iterate over via the map causing the undefined error.
The text was updated successfully, but these errors were encountered:
If you add VictoryLegend to a project, without providing it any props, it throws the following error:
TypeError: Cannot read property 'map' of undefined
at VictoryLegend.getCalculatedProps (.../node_modules/victory-core/lib/victory-legend/victory-legend.js:129:19)
Seems it isn't receiving its default props as expected, and thus there are no props to iterate over via the map causing the undefined error.
The text was updated successfully, but these errors were encountered: