export const fetchInitData = () => {
return (dispatch) => {
$.get("/api/filters.json" , function(data){
dispatch({"type" : "FETCHINITDATA" , data : data})
});
}};
export const addfilter = (title,v) => {
return {"type" : "ADDFILTER" , title , v}
}