diff --git a/app/routes/friends/components/Friends.js b/app/routes/friends/components/Friends.js index f29f775a..4a75b493 100644 --- a/app/routes/friends/components/Friends.js +++ b/app/routes/friends/components/Friends.js @@ -29,13 +29,14 @@ class Friends extends Component { render() { const { - channels, + channels: { searchQuery }, currentChannels, activeChannels, nonActiveChannels, pendingOpenChannels, closingPendingChannels, + updateChannelSearchQuery, openFriendsForm, friendsFormProps, @@ -66,8 +67,8 @@ class Friends extends Component { console.log('event: ', event)} + value={searchQuery} + onChange={event => updateChannelSearchQuery(event.target.value)} className={`${styles.text} ${styles.input}`} placeholder='Search your friends list...' type='text' @@ -77,17 +78,17 @@ class Friends extends Component {