linting
This commit is contained in:
		
							parent
							
								
									c5d3a1ea09
								
							
						
					
					
						commit
						5ebcbb0ced
					
				
					 1 changed files with 18 additions and 5 deletions
				
			
		| 
						 | 
					@ -1,10 +1,23 @@
 | 
				
			||||||
<script>
 | 
					<script>
 | 
				
			||||||
    import { logOut, loggedInUser } from "./appwrite";
 | 
					  import { account, logOut, loggedInUser } from "./appwrite";
 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
</script>
 | 
					</script>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<div class="">Welcome, {loggedInUser.name} <a href="#" class="text-blue-400" on:click={logOut}>Log out</a></div>
 | 
					<div class="">
 | 
				
			||||||
 | 
					  Welcome, {loggedInUser.name}
 | 
				
			||||||
 | 
					  <a href="#" class="text-blue-400" on:click={logOut}>Log out</a>
 | 
				
			||||||
 | 
					</div>
 | 
				
			||||||
{#if !loggedInUser.emailVerification}
 | 
					{#if !loggedInUser.emailVerification}
 | 
				
			||||||
  <div class="">You have not verified your email address yet</div>
 | 
					  <div class="">
 | 
				
			||||||
 | 
					    You have not verified your email address yet <a
 | 
				
			||||||
 | 
					      href="#"
 | 
				
			||||||
 | 
					      class="text-blue-400"
 | 
				
			||||||
 | 
					      on:click={() =>
 | 
				
			||||||
 | 
					        account.createVerification(
 | 
				
			||||||
 | 
					          window.location.protocol +
 | 
				
			||||||
 | 
					            "//" +
 | 
				
			||||||
 | 
					            window.location.host +
 | 
				
			||||||
 | 
					            "/register/emailVerify",
 | 
				
			||||||
 | 
					        )}>Resend verification email</a
 | 
				
			||||||
 | 
					    >
 | 
				
			||||||
 | 
					  </div>
 | 
				
			||||||
{/if}
 | 
					{/if}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue