designsystem
designsystem copied to clipboard
MainNavigationItem component issue
- Component affected - What is the name of the component or its variation? MainNavigationItem
- Error - What is the unexpected behaviour? TypeError e.props.onChangeSub is not a function
- Acceptance criteria - What is the correct behaviour? Define onChangeSub function
- Owner - Who raised the request? Leandro E. Bravo
- Description - What's the background? How to explain the context? The exception occurs in the MainNavigationItem component of the WFP UI kit library because the onChangeSub function from the props isn't provided by default/isn't checked for an undefined value.
- Dependencies - Is there any impact on other activities? wfp-ui
- Severity - Is the bug a regular fix or a blocker for other activities? Hight
- Resources - Is there any related content to attach? Sentry screen attached
Thank you