Steps to reproduce:
- Launch storybook with npm run storybook
- Open HeaderWithBackButton component
- You will see Error: Couldn't find a navigation object same as on the screenshot below.
Reasons for the bug:
The reason is this PR, specifically adding of useWaitForNavigation hook usage inside the HeaderWithBackButton component. Since the storybook HeaderWithBackButton doesn't have a navigation context, it's causing the error.
Upwork Automation - Do Not Edit
- Upwork Job URL: https://www.upwork.com/jobs/~0198c8e0d974e15827
- Upwork Job ID: 1719406106487824384
- Last Price Increase: 2023-10-31
- Automatic offers:
- mollfpr | Reviewer | 27474657
Steps to reproduce:
Reasons for the bug:
The reason is this PR, specifically adding of useWaitForNavigation hook usage inside the HeaderWithBackButton component. Since the storybook HeaderWithBackButton doesn't have a navigation context, it's causing the error.
Upwork Automation - Do Not Edit