export function submit (form) {
  return async dispatch => {
    dispatch({ type: CREATE_AD_STARTED })
    try {
      const token = getToken()