This commit is contained in:
		@@ -20,6 +20,7 @@
 | 
			
		||||
		if (value.isLoggedIn) {
 | 
			
		||||
			Apiclient.getUrlDetails(shortcode).then((res) => {
 | 
			
		||||
				urlDetails = res;
 | 
			
		||||
				unsubscribe();
 | 
			
		||||
			});
 | 
			
		||||
			visitQuery = Apiclient.getUrlVisits(shortcode).then((res) => {
 | 
			
		||||
				urlVisists = res;
 | 
			
		||||
 
 | 
			
		||||
@@ -11,11 +11,10 @@
 | 
			
		||||
		if (value.isLoggedIn) {
 | 
			
		||||
			visitQuery = Apiclient.getVisits().then((res) => {
 | 
			
		||||
				visits = res;
 | 
			
		||||
				unsubscribe();
 | 
			
		||||
			});
 | 
			
		||||
		}
 | 
			
		||||
	});
 | 
			
		||||
 | 
			
		||||
	onDestroy(unsubscribe);
 | 
			
		||||
</script>
 | 
			
		||||
 | 
			
		||||
<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