From f9ad70bd81164acaa7c014c6842af9bfae16460d Mon Sep 17 00:00:00 2001 From: Nick Lockwood Date: Wed, 30 Dec 2015 10:42:19 -0800 Subject: [PATCH] Fix UIExplorer list Summary: public On fresh install, UIExplorer produces a blank list due to the search text being null. This fixes that by replacing the null with an empty string. Reviewed By: milend Differential Revision: D2795411 fb-gh-sync-id: 4bdde5d4f9e88dd933c7946dcbfb8b591a54baf6 --- Examples/UIExplorer/UIExplorerListBase.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Examples/UIExplorer/UIExplorerListBase.js b/Examples/UIExplorer/UIExplorerListBase.js index c4b55f6d0a..71ce0031f7 100644 --- a/Examples/UIExplorer/UIExplorerListBase.js +++ b/Examples/UIExplorer/UIExplorerListBase.js @@ -40,7 +40,7 @@ class UIExplorerListBase extends React.Component { components: [], apis: [], }), - searchText: this.props.searchText, + searchText: this.props.searchText || '', }; }