Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: check for undefined tours in tour-provider (#1452)
Signed-off-by: Jason C. Leach <[email protected]>
- Loading branch information
7347852
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jleach good catch. How come you were getting undefined? The tours prop is required for the TourProvider. Could you please explain what configuration you had in your wallet that caused this error? Thanks
7347852
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just ran the BC Wallet noticed that "tours" was
undefined
. I think because we hadn't properly made changes to the BC Wallet after some recent refactoring. @bryce-mcmath Thoughts? I think you just brought in some of the recent changes to BC Wallet.7347852
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We just hadn't updated BC Wallet main to use the new
tours
prop yet (it was still passing in each individual tour prop, the old way)That's been fixed in the BC Wallet PR that got merged last night