Update files with exported function instead of a reactive function

This commit is contained in:
2021-12-13 16:33:23 +01:00
parent abab25ad2d
commit 967c7837fb
13 changed files with 192 additions and 185 deletions

View File

@@ -16,7 +16,7 @@ let socket = null
let error_msg = ""
$: update_stats(file.id)
let update_stats = (id) => {
let update_stats = async id => {
if (id === "" || id == "demo") {
return
}