Ankilan/src/reducers/api-reducer.js

16 lines
250 B
JavaScript

const initialState = {
word: '',
translatedObject: {},
wordSoundLink: '',
dictionaryInfo: {},
};
const apiReducer = (state = initialState, action) => {
switch (action.type) {
default:
return state;
}
};
export default apiReducer;