Fix linting problems
This commit is contained in:
		@@ -10,7 +10,7 @@ export const INITIAL_STATE: State = {
 | 
			
		||||
    ethUsdPrice: undefined,
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
export function reducer(state: State = INITIAL_STATE, action: Action): State {
 | 
			
		||||
export const reducer = (state: State = INITIAL_STATE, action: Action): State => {
 | 
			
		||||
    switch (action.type) {
 | 
			
		||||
        case ActionTypes.UPDATE_ETH_USD_PRICE:
 | 
			
		||||
            return {
 | 
			
		||||
@@ -20,4 +20,4 @@ export function reducer(state: State = INITIAL_STATE, action: Action): State {
 | 
			
		||||
        default:
 | 
			
		||||
            return state;
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
};
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,5 @@
 | 
			
		||||
import * as _ from 'lodash';
 | 
			
		||||
import { applyMiddleware, createStore, Store as ReduxStore } from 'redux';
 | 
			
		||||
import { createStore, Store as ReduxStore } from 'redux';
 | 
			
		||||
 | 
			
		||||
import { reducer, State } from './reducer';
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -6,7 +6,7 @@ const {
 | 
			
		||||
    injectGlobal,
 | 
			
		||||
    keyframes,
 | 
			
		||||
    ThemeProvider,
 | 
			
		||||
} = styledComponents as styledComponents.ThemedStyledComponentsModule<Theme>;
 | 
			
		||||
} = styledComponents;
 | 
			
		||||
 | 
			
		||||
export type Theme = { [key in ColorOption]: string };
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user