Skip to content

Commit ec81f6d

Browse files
authored
Add missing comma in reactor.dispatch usage example
1 parent b719efb commit ec81f6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/components/usage-example.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ const componentCode = `const ItemViewer = React.createClass({
8080

8181
const dispatchCode = `const actions = {
8282
setFilter(type) {
83-
reactor.dispatch('FILTER_TYPE' type)
83+
reactor.dispatch('FILTER_TYPE', type)
8484
},
8585
8686
addItem(name, type, price) {

0 commit comments

Comments
 (0)