Skip to content

Commit

Permalink
Finalize Links
Browse files Browse the repository at this point in the history
  • Loading branch information
shiva-menta committed Jul 9, 2023
1 parent 848b31a commit 6e2ecad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/review/src/components/DeepSearch/DeepSearchBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ class DeepSearchBar extends Component {

// Called when an option is selected in the AsyncSelect component
handleChange(value) {
this.props.history.push("/course/", { query: value.url })
this.props.history.push("/course/" + value)
}

render() {
Expand Down
2 changes: 1 addition & 1 deletion frontend/review/src/components/SearchBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ class SearchBar extends Component {

// Called to redirect to deep search
handleDeepSearch() {
this.props.history.push("/search", { query: this.state.searchValue })
this.props.history.push("/search", { query: this.state.searchValue });
}

render() {
Expand Down

0 comments on commit 6e2ecad

Please sign in to comment.