Fixed typo in visits query

This commit is contained in:
Nicolai Ort 2021-08-21 10:15:39 +02:00
parent 36de0a3eb3
commit b3b6731c09
Signed by: niggl
GPG Key ID: 13AFA55AF62F269F
1 changed files with 1 additions and 1 deletions

View File

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