export const toggle=()=>{
    return dispatch=>{
        dispatch({
        type:'toggle'
    })
    }
}