Skip to content

Commit 3569724

Browse files
committed
Add a random string to the "private" actions.
1 parent 075b3a0 commit 3569724

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utils/actionTypes.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
* Do not reference these action types directly in your code.
66
*/
77
const ActionTypes = {
8-
INIT: '@@redux/INIT',
9-
REPLACE: '@@redux/REPLACE'
8+
INIT: '@@redux/INIT' + Math.random().toString(36).substring(7).split('').join('.'),
9+
REPLACE: '@@redux/REPLACE' + Math.random().toString(36).substring(7).split('').join('.')
1010
}
1111

1212
export default ActionTypes

0 commit comments

Comments
 (0)