Skip to content

Commit

Permalink
Add a random string to the "private" actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
timdorr committed Oct 23, 2017
1 parent 075b3a0 commit 3569724
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/actionTypes.js
Expand Up @@ -5,8 +5,8 @@
* Do not reference these action types directly in your code.
*/
const ActionTypes = {
INIT: '@@redux/INIT',
REPLACE: '@@redux/REPLACE'
INIT: '@@redux/INIT' + Math.random().toString(36).substring(7).split('').join('.'),
REPLACE: '@@redux/REPLACE' + Math.random().toString(36).substring(7).split('').join('.')
}

export default ActionTypes

0 comments on commit 3569724

Please sign in to comment.