[ui] fix last visited on address change
parent
2c36373d85
commit
4a49ec4d4f
|
@ -161,12 +161,10 @@
|
|||
revalidate();
|
||||
}
|
||||
|
||||
onMount(() => {
|
||||
fetch(`api/obj/${address}/LAST_VISITED`, {
|
||||
method: "PUT",
|
||||
headers: { "Content-Type": "application/json" },
|
||||
body: JSON.stringify({ t: "Number", c: new Date().getTime() }),
|
||||
});
|
||||
$: fetch(`api/obj/${address}/LAST_VISITED`, {
|
||||
method: "PUT",
|
||||
headers: { "Content-Type": "application/json" },
|
||||
body: JSON.stringify({ t: "Number", c: new Date().getTime() }),
|
||||
});
|
||||
</script>
|
||||
|
||||
|
|
Loading…
Reference in New Issue