{"size": 232, "ext": "js", "max_stars_repo_path": "src/actions/modalActions.js", "max_stars_repo_name": "trunglive/nouve", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/actions/modalActions.js", "max_issues_repo_name": "trunglive/nouve", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/actions/modalActions.js", "max_forks_repo_name": "trunglive/nouve", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 21.0909090909, "max_line_length": 68, "alphanum_fraction": 0.7198275862}
import { FETCH_CART, ARE_ALL_FIELDS_SELECTED } from "./actionTypes";

export const fetchCart = isCartOpen => ({
  type: FETCH_CART,
  isCartOpen
});

export const toggleCartAlert = val => ({
  type: ARE_ALL_FIELDS_SELECTED,
  val
})