Skip to content

Commit 06b1620

Browse files
author
Jaime Rios
committed
Improved rxaction
1 parent b39ec89 commit 06b1620

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

snippets/snippets.cson

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@ export default connect(mapStateToProps, mapDispatchToProps)(${1:componentName});
125125
'.source.js':
126126
'Snippet Name':
127127
'prefix': 'rxaction'
128-
'body': """export const ${1:actionName} = ({2:param}) => ({
129-
type: ${3:type},
130-
payload: ${4:payload}
128+
'body': """export const ${1:actionName} = (action) => ({
129+
type: type,
130+
payload: payload
131131
});
132132
"""

0 commit comments

Comments
 (0)