Fix warnings generated by new typeahead version

No functionality change.

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
This commit is contained in:
Mcat12
2019-05-30 20:21:33 -07:00
parent b7c7776b63
commit 3b7812e6e0
+2 -1
View File
@@ -70,6 +70,7 @@ class DnsListNewItem extends Component<
<ListGroupItem>
<InputGroup>
<Typeahead
id="dns-list-typeahead"
onInputChange={address => this.setState({ address })}
onChange={selected => this.setState({ selected })}
options={preconfiguredUpstreamOptions.filter(
@@ -77,7 +78,7 @@ class DnsListNewItem extends Component<
)}
selected={this.state.selected}
emptyLabel={t("Detected custom upstream server")}
bodyContainer
positionFixed
ref={this.typeahead}
/>