Skip to content

Commit 54f0ec5

Browse files
committed
trailing commas
1 parent 560c6a2 commit 54f0ec5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/store/currency-converter-reducer.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,26 +24,26 @@ const initialState: ICurrencyConverterReducer = {
2424
baseCurrency: 'PLN',
2525
targetCurrency: 'SEK',
2626
baseValue: '0',
27-
targetValue: '0'
27+
targetValue: '0',
2828
};
2929

3030
export default function reducer(state = Immutable.from(initialState), action: Action<any>) {
3131
switch (action.type) {
3232
case UPDATE_BASE_CURRENCY:
3333
return state.merge({
34-
baseCurrency: action.payload
34+
baseCurrency: action.payload,
3535
});
3636
case UPDATE_TARGET_CURRENCY:
3737
return state.merge({
38-
targetCurrency: action.payload
38+
targetCurrency: action.payload,
3939
});
4040
case UPDATE_BASE_VALUE:
4141
return state.merge({
42-
baseValue: action.payload
42+
baseValue: action.payload,
4343
});
4444
case UPDATE_TARGET_VALUE:
4545
return state.merge({
46-
targetValue: action.payload
46+
targetValue: action.payload,
4747
});
4848

4949
default: return state;

0 commit comments

Comments
 (0)