Skip to content
  • Projects
  • Groups
  • Snippets
  • Help

Yossapol / transaction-log

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • transaction-log
  • src
  • action
  • countersAction.js
  • jutawuth nantawan's avatar
    push project · 6f05bf21
    jutawuth nantawan committed Feb 18, 2019
    6f05bf21
countersAction.js 152 Bytes
BlameHistoryPermalink
Edit
1 2 3 4 5 6 7 8 9
export const increment = (score = 1) => ({
  type: 'INCREMENT',
  score
})

export const decrement = (score = -1) => ({
  type: 'DECREMENT',
  score
})