From b3b6731c09d47fff9df96903c75914e7042e28c5 Mon Sep 17 00:00:00 2001 From: Nicolai Ort Date: Sat, 21 Aug 2021 10:15:39 +0200 Subject: [PATCH] Fixed typo in visits query --- src/routes/visits.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/visits.svelte b/src/routes/visits.svelte index 141b476..e20ef71 100644 --- a/src/routes/visits.svelte +++ b/src/routes/visits.svelte @@ -8,7 +8,7 @@ // Yes i know this isn't the best way to implement this, but linkylinky dashboard is just a oneshot sideproject r/n. const unsubscribe = UserStore.subscribe((value) => { - if (value.isLoggedIn && visit.length == 0) { + if (value.isLoggedIn && visits.length == 0) { visitQuery = Apiclient.getVisits().then((res) => { visits = res; });