File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
governance/xc_admin/packages/xc_admin_frontend/hooks Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -101,32 +101,36 @@ export const useMultisig = (wallet: Wallet): MultisigHookData => {
101101 UPGRADE_MULTISIG [ getMultisigCluster ( cluster ) ]
102102 )
103103 )
104- if ( cluster === 'devnet' ) {
104+ try {
105+ // DELETE THIS TRY CATCH ONCE THIS MULTISIG EXISTS EVERYWHERE
105106 setpriceFeedMultisigAccount (
106107 await squads . getMultisig (
107108 PRICE_FEED_MULTISIG [ getMultisigCluster ( cluster ) ]
108109 )
109110 )
110- } else {
111+ } catch {
111112 setpriceFeedMultisigAccount ( undefined )
112113 }
114+
113115 if ( cancelled ) return
114116 setUpgradeMultisigProposals (
115117 await getSortedProposals (
116118 squads ,
117119 UPGRADE_MULTISIG [ getMultisigCluster ( cluster ) ]
118120 )
119121 )
120- if ( cluster === 'devnet' ) {
122+ try {
123+ // DELETE THIS TRY CATCH ONCE THIS MULTISIG EXISTS EVERYWHERE
121124 setpriceFeedMultisigProposals (
122125 await getSortedProposals (
123126 squads ,
124127 PRICE_FEED_MULTISIG [ getMultisigCluster ( cluster ) ]
125128 )
126129 )
127- } else {
130+ } catch {
128131 setpriceFeedMultisigProposals ( [ ] )
129132 }
133+
130134 setSquads ( squads )
131135 setIsLoading ( false )
132136 } catch ( e ) {
You can’t perform that action at this time.
0 commit comments