forked from cybrespace/pinafore
		
	fixup
This commit is contained in:
		
							parent
							
								
									d45e8da5c4
								
							
						
					
					
						commit
						9fc39c5322
					
				
					 1 changed files with 4 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -35,8 +35,10 @@ async function redirectToOauth () {
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
export async function logInToInstance () {
 | 
			
		||||
  store.set({logInToInstanceLoading: true})
 | 
			
		||||
  store.set({logInToInstanceError: null})
 | 
			
		||||
  store.set({
 | 
			
		||||
    logInToInstanceLoading: true,
 | 
			
		||||
    logInToInstanceError: null
 | 
			
		||||
  })
 | 
			
		||||
  try {
 | 
			
		||||
    await redirectToOauth()
 | 
			
		||||
  } catch (err) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue