Skip to content

Commit 166a1a5

Browse files
Merge pull request cerebral#253 from jkleiser/patch-1
Update action.md
2 parents 6980522 + e57eac0 commit 166a1a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/overmind-website/api/action.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
h(Example, { name: "api/action"})
55
```
66

7-
An action is where you write the logic of the application. Every action receives at least on argument and that is the **context**. This is the signature of the context:
7+
An action is where you write the logic of the application. Every action receives at least one argument and that is the **context**. This is the signature of the context:
88

99
`{ state, actions, effects }`
1010

@@ -22,4 +22,4 @@ h(Example, { name: "api/action_payload"})
2222

2323
```marksy
2424
h(Notice, null, "There is only one argument, which means if you want to pass multiple values you have to do so with an object")
25-
```
25+
```

0 commit comments

Comments
 (0)