Skip to content

[$500] Bug with HeaderWithBackButton component in a storybook #30636

@puneetlath

Description

@puneetlath

Steps to reproduce:

  1. Launch storybook with npm run storybook
  2. Open HeaderWithBackButton component
  3. 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

Metadata

Metadata

Labels

BugSomething is broken. Auto assigns a BugZero manager.ExternalAdded to denote the issue can be worked on by a contributorReviewingHas a PR in reviewWeeklyKSv2

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions