File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
governance/xc_admin/packages/xc_admin_frontend/hooks Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -102,13 +102,15 @@ export const useMultisig = (wallet: Wallet): MultisigHookData => {
102102 )
103103 )
104104 try {
105+ if ( cancelled ) return
105106 // DELETE THIS TRY CATCH ONCE THIS MULTISIG EXISTS EVERYWHERE
106107 setpriceFeedMultisigAccount (
107108 await squads . getMultisig (
108109 PRICE_FEED_MULTISIG [ getMultisigCluster ( cluster ) ]
109110 )
110111 )
111- } catch {
112+ } catch ( e ) {
113+ console . error ( e )
112114 setpriceFeedMultisigAccount ( undefined )
113115 }
114116
@@ -120,14 +122,16 @@ export const useMultisig = (wallet: Wallet): MultisigHookData => {
120122 )
121123 )
122124 try {
125+ if ( cancelled ) return
123126 // DELETE THIS TRY CATCH ONCE THIS MULTISIG EXISTS EVERYWHERE
124127 setpriceFeedMultisigProposals (
125128 await getSortedProposals (
126129 squads ,
127130 PRICE_FEED_MULTISIG [ getMultisigCluster ( cluster ) ]
128131 )
129132 )
130- } catch {
133+ } catch ( e ) {
134+ console . error ( e )
131135 setpriceFeedMultisigProposals ( [ ] )
132136 }
133137
You can’t perform that action at this time.
0 commit comments