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
The changes related to #2970 causes a "props.groupComponent is undefined" error in our VictoryBar wrapper.
In order for a wrapper to work properly, some static props need to be hoisted (e.g., `role`). Our workaround is to not hoist `getBaseProps`, but would still like to fix `victory-bar/src/victory-bar.tsx` and `victory-bar/src/helper-methods.ts`.
Expected behavior
Use a "?" character when testing `props.groupComponent?.type`, so an error isn't thrown in `victory-bar/src/victory-bar.tsx` and `victory-bar/src/helper-methods.ts`.
Is there an existing issue for this?
Code of Conduct
Victory version
37.3.4
Bug report
Expected behavior
Actual behavior
Environment
The text was updated successfully, but these errors were encountered: