Skip to content

Commit 7f8d084

Browse files
authored
Wordsmithing
1 parent 3dfc414 commit 7f8d084

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/docs/handling-events.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ The problem with this syntax is that a different callback is created each time t
142142

143143
## Passing arguments to event handlers
144144

145-
Inside a loop it is common to want to pass a param to an event handler. For example if `i` is the row id:
145+
Inside a loop it is common to want to pass a param to an event handler. For example, if `i` is the row id, either of the following would work:
146146

147147
```js
148148
<button onClick={() => this.deleteRow(i)}>Delete Row</button>

0 commit comments

Comments
 (0)