Fix some react natives warning messages (#4653)

Этот коммит содержится в:
enahum
2016-11-28 12:38:33 -03:00
коммит произвёл Harrison Healey
родитель 8d9768dad3
Коммит 7315d69474
9 изменённых файлов: 38 добавлений и 29 удалений

Просмотреть файл

@@ -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}
/>