From 7315d69474b6fc8fd1d208224195a75455f1665e Mon Sep 17 00:00:00 2001 From: enahum Date: Mon, 28 Nov 2016 12:38:33 -0300 Subject: Fix some react natives warning messages (#4653) --- webapp/components/suggestion/suggestion_box.jsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'webapp/components/suggestion/suggestion_box.jsx') 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 = ( -- cgit v1.2.3-1-g7c22