Linting changes

This commit is contained in:
Neshura 2024-01-04 01:36:35 +01:00
parent abea3f1be9
commit 3525fdfcd1
Signed by: Neshura
GPG key ID: B6983AAA6B9A7A6C
6 changed files with 51 additions and 59 deletions
src/routes/servers

View file

@ -4,7 +4,7 @@
import type { Server } from '$lib/types/data-types';
import { io } from 'socket.io-client';
import type { Heartbeat } from '$lib/types/uptime-kuma-types';
import ServerCard from "$lib/components/ServerCard.svelte";
import ServerCard from '$lib/components/ServerCard.svelte';
let { data }: { data: { promise: Promise<string> } } = $props();
@ -43,7 +43,7 @@
};
monitorList.set(monitor.monitorID, monitor);
monitorList = new Map(monitorList.entries());
})
});
socket.on('heartbeatList', (_, data) => {
let recent = data[data.length - 1];