stop probable source of 504 toasts
This commit is contained in:
		
							parent
							
								
									7f11792111
								
							
						
					
					
						commit
						8595a2b8b0
					
				@ -285,8 +285,9 @@ export function useZap () {
 | 
			
		||||
        return
 | 
			
		||||
      }
 | 
			
		||||
 | 
			
		||||
      const reason = error?.message || error?.toString?.()
 | 
			
		||||
      toaster.danger(reason)
 | 
			
		||||
      // TODO: we should selectively toast based on error type
 | 
			
		||||
      // but right now this toast is noisy for optimistic zaps
 | 
			
		||||
      console.error(error)
 | 
			
		||||
    }
 | 
			
		||||
  }, [act, toaster, strike, wallets.length])
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user