mirror of
https://github.com/seriousm4x/UpSnap.git
synced 2026-07-23 22:13:53 -04:00
remove duplicate
This commit is contained in:
@@ -47,10 +47,10 @@
|
||||
|
||||
// update device date
|
||||
let now = Date.now();
|
||||
let clear;
|
||||
let interval;
|
||||
$: {
|
||||
clearInterval(clear);
|
||||
clear = setInterval(() => {
|
||||
clearInterval(interval);
|
||||
interval = setInterval(() => {
|
||||
now = Date.now();
|
||||
}, 1000);
|
||||
}
|
||||
|
||||
@@ -185,7 +185,6 @@
|
||||
</script>
|
||||
|
||||
<div class="container">
|
||||
<DeviceForm bind:device={newDevice} mode="add" />
|
||||
<section class="m-0 mt-4 p-4 shadow-sm">
|
||||
<form on:submit|preventDefault={saveSettings}>
|
||||
<h3 class="mb-3">Ping interval</h3>
|
||||
|
||||
Reference in New Issue
Block a user