This commit is contained in:
		@@ -20,6 +20,7 @@
 | 
				
			|||||||
		if (value.isLoggedIn) {
 | 
							if (value.isLoggedIn) {
 | 
				
			||||||
			Apiclient.getUrlDetails(shortcode).then((res) => {
 | 
								Apiclient.getUrlDetails(shortcode).then((res) => {
 | 
				
			||||||
				urlDetails = res;
 | 
									urlDetails = res;
 | 
				
			||||||
 | 
									unsubscribe();
 | 
				
			||||||
			});
 | 
								});
 | 
				
			||||||
			visitQuery = Apiclient.getUrlVisits(shortcode).then((res) => {
 | 
								visitQuery = Apiclient.getUrlVisits(shortcode).then((res) => {
 | 
				
			||||||
				urlVisists = res;
 | 
									urlVisists = res;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -11,11 +11,10 @@
 | 
				
			|||||||
		if (value.isLoggedIn) {
 | 
							if (value.isLoggedIn) {
 | 
				
			||||||
			visitQuery = Apiclient.getVisits().then((res) => {
 | 
								visitQuery = Apiclient.getVisits().then((res) => {
 | 
				
			||||||
				visits = res;
 | 
									visits = res;
 | 
				
			||||||
 | 
									unsubscribe();
 | 
				
			||||||
			});
 | 
								});
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
	});
 | 
						});
 | 
				
			||||||
 | 
					 | 
				
			||||||
	onDestroy(unsubscribe);
 | 
					 | 
				
			||||||
</script>
 | 
					</script>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<h2 class="text-3xl font-bold text-gray-800 dark:text-gray-100 pb-6">View all visits</h2>
 | 
					<h2 class="text-3xl font-bold text-gray-800 dark:text-gray-100 pb-6">View all visits</h2>
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user