From 5b92d477e2a111c56bca429e3a764739a7ad13a4 Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Tue, 21 Aug 2018 00:30:36 -0400 Subject: [PATCH] use new search suggestion selector --- app/package-lock.json | 2 +- app/src/component/uriBar/index.js | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/app/package-lock.json b/app/package-lock.json index 5b17c504..a59976e0 100644 --- a/app/package-lock.json +++ b/app/package-lock.json @@ -3958,7 +3958,7 @@ } }, "lbry-redux": { - "version": "github:lbryio/lbry-redux#467e48c77b8004cef738e950bdcc67654748ae9f", + "version": "github:lbryio/lbry-redux#31f7afa8a37f5741dac01fc1ecdf153f3bed95dc", "from": "github:lbryio/lbry-redux", "requires": { "proxy-polyfill": "0.1.6", diff --git a/app/src/component/uriBar/index.js b/app/src/component/uriBar/index.js index 343ffb39..e7ad5d18 100644 --- a/app/src/component/uriBar/index.js +++ b/app/src/component/uriBar/index.js @@ -1,12 +1,13 @@ import { connect } from 'react-redux'; -import { doUpdateSearchQuery, selectSearchState as selectSearch } from 'lbry-redux'; +import { doUpdateSearchQuery, selectSearchState as selectSearch, selectSearchSuggestions } from 'lbry-redux'; import UriBar from './view'; const select = state => { const { ...searchState } = selectSearch(state); return { - ...searchState + ...searchState, + suggestions: selectSearchSuggestions(state) }; }; -- 2.45.2