Skip to content

Commit

Permalink
created defaultication of videoPreview section on next search requests
Browse files Browse the repository at this point in the history
yunusparvezkhan committed Apr 12, 2023
1 parent 9dcc978 commit bbc5d2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.js
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@ export default class App extends Component {
}
})

this.setState({ videos: res.data.items })
this.setState({ videos: res.data.items, selectedVideo: null })

}

0 comments on commit bbc5d2c

Please sign in to comment.