From 79b6bdbcd23ff812a33a8c6f2f2c9bdbdc8aea8c Mon Sep 17 00:00:00 2001 From: fullsizemalt <106900403+fullsizemalt@users.noreply.github.com> Date: Mon, 5 Jan 2026 21:48:14 -0800 Subject: [PATCH] fix: TypeScript errors in Pulse frontend components --- frontend/src/pages/EnvironmentDashboard.tsx | 9 +-------- frontend/src/pages/PulseTestPage.tsx | 4 ++-- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/frontend/src/pages/EnvironmentDashboard.tsx b/frontend/src/pages/EnvironmentDashboard.tsx index ed7a613..0dfa452 100644 --- a/frontend/src/pages/EnvironmentDashboard.tsx +++ b/frontend/src/pages/EnvironmentDashboard.tsx @@ -443,14 +443,7 @@ export default function EnvironmentDashboard() { -

Add sensors to start monitoring.

-

- To connect your Pulse Grow sensor, set the PULSE_API_KEY environment variable. -

- - } + description="Add sensors to start monitoring. To connect your Pulse Grow sensor, set the PULSE_API_KEY environment variable." /> )} diff --git a/frontend/src/pages/PulseTestPage.tsx b/frontend/src/pages/PulseTestPage.tsx index ac1346e..7903809 100644 --- a/frontend/src/pages/PulseTestPage.tsx +++ b/frontend/src/pages/PulseTestPage.tsx @@ -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;