How to use the topcoder-react-lib.actions.basicInfo function in topcoder-react-lib

To help you get started, we’ve selected a few topcoder-react-lib examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github topcoder-platform / community-app / src / shared / containers / Settings.jsx View on Github external
function mapDispatchToProps(dispatch) {
  const profileActions = actions.profile;
  const basicInfoActions= actions.basicInfo;
  const languageActions= actions.language;
  console.log("actions", actions);
  console.log("profileActions", profileActions);
  console.log("basicInfoActions", basicInfoActions);
  
  const loadHeaderData = ({ handle, tokenV3 }) => {
    dispatch(profileActions.loadProfile(handle));
    dispatch(profileActions.getAchievementsInit());
    dispatch(actions.challenge.getActiveChallengesCountInit());
    dispatch(profileActions.getAchievementsDone(handle));
    dispatch(actions.challenge.getActiveChallengesCountDone(handle, tokenV3));
  };

  const loadTabData = ({
    handle,
    profile,