We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc0de28 commit ab779d0Copy full SHA for ab779d0
governance/xc_admin/packages/xc_admin_frontend/hooks/useMultisig.ts
@@ -90,6 +90,10 @@ export const useMultisig = (wallet: Wallet): MultisigHookData => {
90
setError(null)
91
}, [urlsIndex, cluster])
92
93
+ useEffect(() => {
94
+ setUrlsIndex(0)
95
+ }, [cluster])
96
+
97
useEffect(() => {
98
const urls = pythClusterApiUrls(getMultisigCluster(cluster))
99
const connection = new Connection(urls[urlsIndex].rpcUrl, {
0 commit comments