Fixed typo in visits query
This commit is contained in:
parent
36de0a3eb3
commit
b3b6731c09
|
@ -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.
|
// 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) => {
|
const unsubscribe = UserStore.subscribe((value) => {
|
||||||
if (value.isLoggedIn && visit.length == 0) {
|
if (value.isLoggedIn && visits.length == 0) {
|
||||||
visitQuery = Apiclient.getVisits().then((res) => {
|
visitQuery = Apiclient.getVisits().then((res) => {
|
||||||
visits = res;
|
visits = res;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue