Skip to content
This repository has been archived by the owner on Jan 25, 2024. It is now read-only.

Commit

Permalink
Fix location not in sensor
Browse files Browse the repository at this point in the history
  • Loading branch information
floriandejonckheere committed Dec 9, 2023
1 parent d9d38ce commit f78fdf6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/cards/grid_frequency.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ import MeasurementsChart from '../charts/measurements'

import { useMeasurements } from '../../api/queries/measurements'

import { LOCATIONS } from '../../api/data'

function GridFrequencyDetail(props: {
sensor: Sensor
success: boolean
Expand Down Expand Up @@ -64,6 +66,7 @@ export default function GridFrequency(): ReactElement {

const sensor: Sensor = {
name: 'Grid frequency',
location: LOCATIONS[2],
device: 'E_HUB',
sensor: 'gridfreq'
}
Expand Down

0 comments on commit f78fdf6

Please sign in to comment.