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; });