Skip to content

Commit

Permalink
tiny commit to test repo-visualiser
Browse files Browse the repository at this point in the history
  • Loading branch information
waldowred5 committed Jun 7, 2024
1 parent 50d8c12 commit 2d6d564
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Future Improvements:
### Future Improvements:
- Caching to reduce API calls (Next.js?)
- Add Google Maps API for location display

Expand Down
1 change: 1 addition & 0 deletions diagram.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/components/SensorSelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ export const SensorSelect = () => {
<option value="">Select a sensor...</option>
{
sensors.data && sensors.data.map((sensor: any) => (
<option key={sensor["@iot.id"]} value={sensor["@iot.id"]}>
{sensor["@iot.id"]}
<option key={sensor['@iot.id']} value={sensor['@iot.id']}>
{sensor['@iot.id']}
</option>
))
}
Expand Down

0 comments on commit 2d6d564

Please sign in to comment.