mirror of
https://github.com/KevinMidboe/infra-map.git
synced 2025-10-29 17:40:28 +00:00
decrease image refresh to 1 second
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
import { grey400x225 } from '$lib/utils/staticImageSource';
|
import { grey400x225 } from '$lib/utils/staticImageSource';
|
||||||
import Dialog from './Dialog.svelte';
|
import Dialog from './Dialog.svelte';
|
||||||
|
|
||||||
const IMAGE_REFRESH_INTERVAL = 3000;
|
const IMAGE_REFRESH_INTERVAL = 1000;
|
||||||
|
|
||||||
let { imageUrl }: { imageUrl: string } = $props();
|
let { imageUrl }: { imageUrl: string } = $props();
|
||||||
let lastUpdated = new Date();
|
let lastUpdated = new Date();
|
||||||
|
|||||||
Reference in New Issue
Block a user