mirror of
				https://github.com/karl0ss/homepage.git
				synced 2025-11-04 00:10:57 +00:00 
			
		
		
		
	Fix: correct icon in the longhorn widget (#3509)
This commit is contained in:
		
							parent
							
								
									97d7ae21e4
								
							
						
					
					
						commit
						4d76443846
					
				@ -1,5 +1,5 @@
 | 
			
		||||
import { useTranslation } from "next-i18next";
 | 
			
		||||
import { FaThermometerHalf } from "react-icons/fa";
 | 
			
		||||
import { FiHardDrive } from "react-icons/fi";
 | 
			
		||||
 | 
			
		||||
import Resource from "../widget/resource";
 | 
			
		||||
import WidgetLabel from "../widget/widget_label";
 | 
			
		||||
@ -10,7 +10,7 @@ export default function Node({ data, expanded, labels }) {
 | 
			
		||||
  return (
 | 
			
		||||
    <Resource
 | 
			
		||||
      additionalClassNames="information-widget-longhorn-node"
 | 
			
		||||
      icon={FaThermometerHalf}
 | 
			
		||||
      icon={FiHardDrive}
 | 
			
		||||
      value={t("common.bytes", { value: data.node.available })}
 | 
			
		||||
      label={t("resources.free")}
 | 
			
		||||
      expandedValue={t("common.bytes", { value: data.node.maximum })}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user