linting and formatting.
							parent
							
								
									397b0d09dc
								
							
						
					
					
						commit
						3bd72df258
					
				@ -1,11 +1,10 @@
 | 
			
		||||
import { StateType } from '../reducer';
 | 
			
		||||
import { UserConfigState } from "../ducks/userConfig";
 | 
			
		||||
import { UserConfigState } from '../ducks/userConfig';
 | 
			
		||||
import { createSelector } from 'reselect';
 | 
			
		||||
 | 
			
		||||
export const getUserConfig = (state: StateType): UserConfigState => state.userConfig;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
export const getAudioAutoplay = createSelector(
 | 
			
		||||
    getUserConfig,
 | 
			
		||||
    (state: UserConfigState): boolean => state.audioAutoplay
 | 
			
		||||
);
 | 
			
		||||
  getUserConfig,
 | 
			
		||||
  (state: UserConfigState): boolean => state.audioAutoplay
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
					Loading…
					
					
				
		Reference in New Issue