General fixes from routing/lbry.tv changes #2437
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ const select = state => ({
|
||||||
|
|
||||||
const perform = (dispatch, ownProps) => ({
|
const perform = (dispatch, ownProps) => ({
|
||||||
onSearch: query => {
|
onSearch: query => {
|
||||||
ownProps.history.push({ pathname: `/$/search`, search: `?q=${query}` });
|
ownProps.history.push({ pathname: `/$/search`, search: `?q=${encodeURIComponent(query)}` });
|
||||||
analytics.apiLogSearch();
|
analytics.apiLogSearch();
|
||||||
},
|
},
|
||||||
onSubmit: uri => {
|
onSubmit: uri => {
|
||||||
|
|
Loading…
Add table
Reference in a new issue