Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor data hook error handling #107

Open
1 task
denviljclarke opened this issue Aug 15, 2024 · 0 comments
Open
1 task

Refactor data hook error handling #107

denviljclarke opened this issue Aug 15, 2024 · 0 comments

Comments

@denviljclarke
Copy link
Contributor

Description

Currently, data source hooks such as useHoldings don't return anything or handle errors; as a result, undefined values are returned to the UI, which results in a crash. We need to better manage errors and default returns in the case of missing data.

Acceptance Criteria

  • Conditional chaining for data returned to UI has default values & better error handling.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant