diff --git a/src/webui/components/AutoComplete/index.js b/src/webui/components/AutoComplete/index.js index 6b69a2eaa..917006d1a 100644 --- a/src/webui/components/AutoComplete/index.js +++ b/src/webui/components/AutoComplete/index.js @@ -43,11 +43,11 @@ const renderSuggestion = (suggestion, { query, isHighlighted }): Node => {
{parts.map((part, index) => { return part.highlight ? ( - + {part.text} ) : ( - + {part.text} ); @@ -100,7 +100,7 @@ const AutoComplete = ({ ( - + }} + onSuggestionSelected={onClick} + renderSuggestionsContainer={({ containerProps, children, query }) => ( + {suggestionsLoaded && children === null && query && renderMessage(SUGGESTIONS_RESPONSE.NO_RESULT)} {suggestionsLoading && query && renderMessage(SUGGESTIONS_RESPONSE.LOADING)} {suggestionsError && renderMessage(SUGGESTIONS_RESPONSE.FAILURE)} {children} - ) } + )} /> ); diff --git a/src/webui/components/Footer/index.js b/src/webui/components/Footer/index.js index cb2ae90d8..12d8da1f7 100644 --- a/src/webui/components/Footer/index.js +++ b/src/webui/components/Footer/index.js @@ -17,15 +17,15 @@ const Footer = (): Element => ( on - + - - - - - - - + + + + + + + diff --git a/src/webui/components/Header/index.js b/src/webui/components/Header/index.js index 0add4c7bf..ebf4c4e25 100644 --- a/src/webui/components/Header/index.js +++ b/src/webui/components/Header/index.js @@ -184,8 +184,7 @@ class Header extends Component { transformOrigin={{ vertical: 'top', horizontal: 'right', - }} - > + }}> {`Hi,`}