From 5d013a2316de01d9df971db374f7ae13a2e10dc9 Mon Sep 17 00:00:00 2001 From: nicolas-arnaud Date: Mon, 6 Mar 2023 10:04:00 +0100 Subject: [PATCH] refresh user at 15sec interval --- front/volume/src/App.svelte | 3 +++ 1 file changed, 3 insertions(+) diff --git a/front/volume/src/App.svelte b/front/volume/src/App.svelte index 0ebb2b6..592b0cd 100644 --- a/front/volume/src/App.svelte +++ b/front/volume/src/App.svelte @@ -20,6 +20,9 @@ onMount(() => { getUser(); }); + setInterval(() => { + getUser(); + },15000) let isProfileOpen = false; function clickProfile() {