From a425909b76c771820529b85c98bb453c78bc81bc Mon Sep 17 00:00:00 2001 From: Luke Barnard Date: Thu, 18 May 2017 17:01:01 +0100 Subject: [PATCH] Get rid of react key warning when no results --- src/components/views/elements/Dropdown.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/views/elements/Dropdown.js b/src/components/views/elements/Dropdown.js index 1b1e27cb65..718050c010 100644 --- a/src/components/views/elements/Dropdown.js +++ b/src/components/views/elements/Dropdown.js @@ -254,7 +254,7 @@ export default class Dropdown extends React.Component { ); }); if (options.length === 0) { - return [
+ return [
No results
]; }