How to use the topcoder-react-lib.actions.stats 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 / tc-communities / CommunityStats.jsx View on Github external
getCommunityStats: (community, challenges, token) => {
      const uuid = shortid();
      const a = actions.stats;
      dispatch(a.getCommunityStatsInit(community, uuid));
      dispatch(a.getCommunityStatsDone(community, uuid, challenges, token));
    },
    getAllActiveChallenges: (token) => {
github topcoder-platform / community-app / src / shared / containers / Dashboard / index.jsx View on Github external
getCommunityStats: (community, challenges, token) => {
      const uuid = shortId();
      const a = actions.stats;
      dispatch(a.getCommunityStatsInit(community, uuid));
      dispatch(a.getCommunityStatsDone(community, uuid, challenges, token));
    },
    getMemberAchievements: (handle) => {