summaryrefslogtreecommitdiffstats
path: root/webapp/components/suggestion/suggestion_box.jsx
diff options
context:
space:
mode:
authorenahum <nahumhbl@gmail.com>2016-11-28 12:38:33 -0300
committerHarrison Healey <harrisonmhealey@gmail.com>2016-11-28 10:38:33 -0500
commit7315d69474b6fc8fd1d208224195a75455f1665e (patch)
treec5c94d524116304ff329bc346c4839d0a412c396 /webapp/components/suggestion/suggestion_box.jsx
parent8d9768dad38701f21602e33c28091a311a63e170 (diff)
downloadchat-7315d69474b6fc8fd1d208224195a75455f1665e.tar.gz
chat-7315d69474b6fc8fd1d208224195a75455f1665e.tar.bz2
chat-7315d69474b6fc8fd1d208224195a75455f1665e.zip
Fix some react natives warning messages (#4653)
Diffstat (limited to 'webapp/components/suggestion/suggestion_box.jsx')
-rw-r--r--webapp/components/suggestion/suggestion_box.jsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/webapp/components/suggestion/suggestion_box.jsx b/webapp/components/suggestion/suggestion_box.jsx
index 3a8cd65cf..514227394 100644
--- a/webapp/components/suggestion/suggestion_box.jsx
+++ b/webapp/components/suggestion/suggestion_box.jsx
@@ -180,11 +180,13 @@ export default class SuggestionBox extends React.Component {
/>
);
} else if (type === 'search') {
+ const newProps = {...props};
+ Reflect.deleteProperty(newProps, 'providers');
textbox = (
<input
ref='textbox'
type='search'
- {...props}
+ {...newProps}
onInput={this.handleChange}
onKeyDown={this.handleKeyDown}
/>