[Glitch] Rewrite actions/modal and reducers/modal with typescript
Port 38c6216082 to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
			
			
This commit is contained in:
		
				
					committed by
					
						
						Claire
					
				
			
			
				
	
			
			
			
						parent
						
							6a592083f1
						
					
				
				
					commit
					382b2a506a
				
			@@ -18,8 +18,11 @@ const mapStateToProps = (state, { accountId }) => ({
 | 
			
		||||
 | 
			
		||||
const mapDispatchToProps = (dispatch) => ({
 | 
			
		||||
  onSignupClick() {
 | 
			
		||||
    dispatch(closeModal());
 | 
			
		||||
    dispatch(openModal('CLOSED_REGISTRATIONS'));
 | 
			
		||||
    dispatch(closeModal({
 | 
			
		||||
      modalType: undefined,
 | 
			
		||||
      ignoreFocus: false,
 | 
			
		||||
    }));
 | 
			
		||||
    dispatch(openModal({ modalType: 'CLOSED_REGISTRATIONS' }));
 | 
			
		||||
  },
 | 
			
		||||
});
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user