From 88310345d81b38a57260c7eb5a1c41c1eeeb697e Mon Sep 17 00:00:00 2001 From: Peder Johnsen Date: Sat, 23 Mar 2019 15:24:22 +0000 Subject: [PATCH] Revert --- src/components/picker/nimble-picker.js | 1 - src/components/search.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/picker/nimble-picker.js b/src/components/picker/nimble-picker.js index 3ccc500..736e92f 100644 --- a/src/components/picker/nimble-picker.js +++ b/src/components/picker/nimble-picker.js @@ -522,7 +522,6 @@ export default class NimblePicker extends React.PureComponent { ref={this.setSearchRef} onSearch={this.handleSearch} data={this.data} - set={set} i18n={this.i18n} emojisToShowFilter={emojisToShowFilter} include={include} diff --git a/src/components/search.js b/src/components/search.js index cb2f025..6aec93f 100644 --- a/src/components/search.js +++ b/src/components/search.js @@ -17,7 +17,7 @@ export default class Search extends React.PureComponent { } this.data = props.data - this.emojiIndex = new NimbleEmojiIndex(this.data, props.set) + this.emojiIndex = new NimbleEmojiIndex(this.data) this.setRef = this.setRef.bind(this) this.clear = this.clear.bind(this) this.handleKeyUp = this.handleKeyUp.bind(this)