You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However I get stuck in the Loading... screen and I see the following in the console:
Success: Object { .... }
And in the network tab I can see only the /api/v1/record/${id}/workflows is successfully called.
If I change the order of useRecordEventContent and useRecordWorkflows in the component then only the /api/v1/record/${id} route is called.
Note that this happens when refreshing the page or when the app is first loaded with the component. If I start my app and navigate to a page with the component. Then It does work and I see Worked.
I configures SWR as followed:
I have the following two hooks:
Next I want to use both hooks in the same component:
However I get stuck in the
Loading...
screen and I see the following in the console:And in the network tab I can see only the
/api/v1/record/${id}/workflows
is successfully called.If I change the order of useRecordEventContent and useRecordWorkflows in the component then only the
/api/v1/record/${id}
route is called.Note that this happens when refreshing the page or when the app is first loaded with the component. If I start my app and navigate to a page with the component. Then It does work and I see
Worked
.Using the following version of swr:
The text was updated successfully, but these errors were encountered: