mirror of
				https://github.com/karl0ss/homepage.git
				synced 2025-11-04 00:10:57 +00:00 
			
		
		
		
	Fix: resources network better startup behavior
This commit is contained in:
		
							parent
							
								
									cbf304a4c8
								
							
						
					
					
						commit
						385511f773
					
				@ -18,7 +18,7 @@ export default function Network({ options, refresh = 1500 }) {
 | 
			
		||||
    return <Error />;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  if (!data || !data.network) {
 | 
			
		||||
  if (!data || !data.network || !data.network.rx_sec || !data.network.tx_sec) {
 | 
			
		||||
    return (
 | 
			
		||||
      <Resource
 | 
			
		||||
        icon={FaNetworkWired}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user