fix: Dashboard.tsx useEffect syntax error

This commit is contained in:
Hitonabi
2026-07-22 17:04:18 +02:00
parent 24326e49b7
commit 886cf4398e
+2 -1
View File
@@ -139,7 +139,8 @@ export default function Dashboard() {
const [devices, setDevices] = useState<Device[]>([])
const [loading, setLoading] = useState(true)
const { theme } = useDarkMode()
useEffect(() => {
const loadData = async () => {
try {
const [jobsData, devicesData] = await Promise.all([