mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-24 18:47:44 +00:00
Use algolia for search
This commit is contained in:
parent
180827e27c
commit
f2a544e64c
6 changed files with 76 additions and 11 deletions
|
|
@ -7,6 +7,7 @@ import Skin from "./Skin";
|
|||
import FocusedSkin from "./FocusedSkin";
|
||||
import * as Utils from "./utils";
|
||||
import * as Selectors from "./redux/selectors";
|
||||
import * as Actions from "./redux/actionCreators";
|
||||
import { SKIN_WIDTH, SKIN_HEIGHT, SKIN_RATIO } from "./constants";
|
||||
|
||||
const OVERSCAN_ROWS_LEADING = 10;
|
||||
|
|
@ -166,7 +167,7 @@ const mapDispatchToProps = dispatch => ({
|
|||
dispatch({ type: "SELECT_SKIN", hash, position });
|
||||
},
|
||||
setSearchQuery(query) {
|
||||
dispatch({ type: "SET_SEARCH_QUERY", query });
|
||||
dispatch(Actions.searchQueryChanged(query));
|
||||
}
|
||||
});
|
||||
export default connect(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue