Skip to content

Commit

Permalink
Unit type
Browse files Browse the repository at this point in the history
  • Loading branch information
fwaalkens authored and martinbosma committed Feb 22, 2024
1 parent 9650692 commit f7e6227
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/app/Marine2/components/boxes/Battery/Battery.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,10 @@ import { responsiveBoxIcon } from "../../../utils/helpers/classes/responsive-box
import { colorFor } from "../../../utils/formatters/generic"
import BatteryIcon from "../../../images/icons/battery.svg"
import { temperatureValueFor } from "../../../utils/formatters/temperature/temperature-value-for"
import { TemperatureUnit } from "@victronenergy/mfd-modules/dist/src/Modules/App/App.store"

interface Props {
battery: BatteryType
unit: TemperatureUnit
unit: "°C" | "°F"
}

const Battery = ({ battery, unit }: Props) => {
Expand Down

0 comments on commit f7e6227

Please sign in to comment.