mirror of
https://github.com/gethomepage/homepage.git
synced 2026-01-10 10:32:09 +08:00
Enhancement: Add formatting options to weather widgets (#3093)
This commit is contained in:
@@ -45,6 +45,7 @@ function Widget({ options }) {
|
||||
value: options.units === "metric" ? data.current.temp_c : data.current.temp_f,
|
||||
style: "unit",
|
||||
unit,
|
||||
...options.format,
|
||||
})}
|
||||
</PrimaryText>
|
||||
<SecondaryText>{data.current.condition.text}</SecondaryText>
|
||||
|
||||
Reference in New Issue
Block a user