9 lines
		
	
	
		
			No EOL
		
	
	
		
			290 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			No EOL
		
	
	
		
			290 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
import { updateVerifyCredentialsForInstance } from '../settings/instances/_actions/[instanceName]'
 | 
						|
 | 
						|
export function observers(store) {
 | 
						|
  store.observe('currentInstance', (currentInstance) => {
 | 
						|
    if (currentInstance) {
 | 
						|
      updateVerifyCredentialsForInstance(currentInstance)
 | 
						|
    }
 | 
						|
  })
 | 
						|
} |