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
{{ message }}
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.
The app should fetch the latest proposals for a setup
on page load
after a transaction is finalized
on a regular interval in case it was approved by someone else
Right now we use React Query to ratify and cancel proposals and re-fetch the latest ones from multisig pallet storage on success. The block needs to be finalized before the proposals state changes, so in order for React Query to properly update we need to wait.
The text was updated successfully, but these errors were encountered:
One capability of react-query which helps with this would be the options you could pass to a useQuery how fast data becomes stale and or the interval it should just be refetched automatically.
The app should fetch the latest proposals for a setup
Right now we use React Query to ratify and cancel proposals and re-fetch the latest ones from multisig pallet storage on success. The block needs to be finalized before the proposals state changes, so in order for React Query to properly update we need to wait.
The text was updated successfully, but these errors were encountered: