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
Looking at the documentation I could not find the answer.
I'm trying to implement a loading inside my modal, after the user submits (resolves, or rejects the promise)
For that, I thought about know if the Promise is Pending or Resolves/Rejected
if Resolves/rejected the loading should appear
I suggest add a isPending property for example
Example code after the implementation
{!isPending&&<span>Loading ...</span>}
The text was updated successfully, but these errors were encountered:
Hello once again,
Looking at the documentation I could not find the answer.
I'm trying to implement a loading inside my modal, after the user submits (resolves, or rejects the promise)
For that, I thought about know if the Promise is Pending or Resolves/Rejected
if Resolves/rejected the loading should appear
I suggest add a isPending property for example
Example code after the implementation
The text was updated successfully, but these errors were encountered: