mirror of
				https://github.com/karl0ss/homepage.git
				synced 2025-11-04 00:10:57 +00:00 
			
		
		
		
	Merge pull request #511 from arimitx/patch-1
Fix: openweathermap day/night icon issue
This commit is contained in:
		
						commit
						074d42a8bd
					
				@ -54,7 +54,7 @@ function Widget({ options }) {
 | 
			
		||||
        <div className="hidden sm:flex flex-col items-center">
 | 
			
		||||
          <Icon
 | 
			
		||||
            condition={data.weather[0].id}
 | 
			
		||||
            timeOfDay={data.dt > data.sys.sunrise && data.dt < data.sys.sundown ? "day" : "night"}
 | 
			
		||||
            timeOfDay={data.dt > data.sys.sunrise && data.dt < data.sys.sunset ? "day" : "night"}
 | 
			
		||||
          />
 | 
			
		||||
        </div>
 | 
			
		||||
        <div className="flex flex-col ml-3 text-left">
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user