fix: TypeScript errors in Pulse frontend components
Some checks are pending
Test / backend-test (push) Waiting to run
Test / frontend-test (push) Waiting to run

This commit is contained in:
fullsizemalt 2026-01-05 21:48:14 -08:00
parent afbd5c69aa
commit 79b6bdbcd2
2 changed files with 3 additions and 10 deletions

View file

@ -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>
)}

View file

@ -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;