Fix wallet logger rerender (#2306)
This commit is contained in:
		
							parent
							
								
									efefdeb0f0
								
							
						
					
					
						commit
						8344866fca
					
				@ -75,7 +75,7 @@ export function useWalletLoggerFactory () {
 | 
			
		||||
 | 
			
		||||
export function useWalletLogger (protocol) {
 | 
			
		||||
  const loggerFactory = useWalletLoggerFactory()
 | 
			
		||||
  return loggerFactory(protocol)
 | 
			
		||||
  return useMemo(() => loggerFactory(protocol), [loggerFactory, protocol])
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
export function useWalletLogs (protocol) {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user