Skip to content

Commit 44eb551

Browse files
committed
Fix: Search function
1 parent aec06a2 commit 44eb551

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/App.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ class App extends Component {
449449
<NoteList
450450
key={note.noteid}
451451
note={note}
452-
handleClick={this.handleNoteListItemClick}
452+
handleNoteListItemClick={this.handleNoteListItemClick}
453453
handleMouseOver={this.handleNoteListItemMouseOver}
454454
handleMouseOut={this.handleNoteListItemMouseOut}
455455
/>

src/NoteList.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function NoteList(props) {
99
<li
1010
className={ListItemClasses}
1111
id={note.noteid}
12-
onClick={(e) => props.handleClick(e, note)}
12+
onClick={(e) => props.handleNoteListItemClick(e, note)}
1313
onMouseOver={(e) => props.handleMouseOver(e, note)}
1414
onMouseOut={(e) => props.handleMouseOut(e)}
1515
>

0 commit comments

Comments
 (0)