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
When you update the state based on the current state, you should use the function variant of setState (which you do) and use the state from the function parameters rather than from this (which you don't do):
@fzaninotto
Francois, could you please help me with this issue. I can't found a reason of double request in List-component:
https://drive.google.com/file/d/1qJkFUqUYNyjARSjCrUp2Mxgcrq2sQbZQ/view
You can see two problems:
How it works:
PulseTile-RA/src/core/pages/PatientsList/templates/PatientListTemplate.js
Line 414 in 43df121
It increase key = key+1, and patients table refreshed.
Similar, it run request with previous value, and after this - run request with new value.
I don't understand how to prevent the first request.
The text was updated successfully, but these errors were encountered: