-
Notifications
You must be signed in to change notification settings - Fork 445
Description
Describe the bug
The graph container fetches data, but often may fetch when a param is still undefined
. This results in the error state with reload button. This doesn't happen 100% of the time, but most of the time.
There is likely just some small optimizations that can occur in the ApyGraphContainer.tsx
component file to prevent fetching unless all params are available, and to keep the loading state until it has them.
To Reproduce
Steps to reproduce the behavior:
- Go to any reserve overview page with graph data
- See the error state
- Click the reload button
- See the proper data
Expected behavior
The data should pull through correctly on the initial fetch.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
Smartphone (please complete the following information):
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
Additional context
Add any other context about the problem here.