fix: TypeScript errors in Pulse frontend components
This commit is contained in:
parent
afbd5c69aa
commit
79b6bdbcd2
2 changed files with 3 additions and 10 deletions
|
|
@ -443,14 +443,7 @@ export default function EnvironmentDashboard() {
|
|||
<EmptyState
|
||||
icon={Activity}
|
||||
title="No sensors configured"
|
||||
description={
|
||||
<div className="space-y-2">
|
||||
<p>Add sensors to start monitoring.</p>
|
||||
<p className="text-sm">
|
||||
To connect your Pulse Grow sensor, set the <code className="px-1 py-0.5 bg-[var(--color-bg-tertiary)] rounded">PULSE_API_KEY</code> environment variable.
|
||||
</p>
|
||||
</div>
|
||||
}
|
||||
description="Add sensors to start monitoring. To connect your Pulse Grow sensor, set the PULSE_API_KEY environment variable."
|
||||
/>
|
||||
</div>
|
||||
)}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import React, { useEffect, useState } from 'react';
|
||||
import { useAuth } from '../../context/AuthContext';
|
||||
import { useAuth } from '../context/AuthContext';
|
||||
import { Activity, Thermometer, Droplets, Wind, Sun, Wifi, WifiOff, RefreshCw, Bell } from 'lucide-react';
|
||||
import { useNotifications } from '../../hooks/useNotifications';
|
||||
import { useNotifications } from '../hooks/useNotifications';
|
||||
|
||||
interface PulseDevice {
|
||||
id: string;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue