Devendra174's picture
Upload folder using huggingface_hub
1e92f2d verified
raw
history blame
313 Bytes
import * as reducerType from '../../unit/reducerType';
import { isFocus } from '../../unit/';
const initState = isFocus();
const focus = (state = initState, action) => {
switch (action.type) {
case reducerType.FOCUS:
return action.data;
default:
return state;
}
};
export default focus;