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
This commit is contained in:
Nick Lockwood 2015-12-30 10:42:19 -08:00 committed by facebook-github-bot-1
parent e798817e5a
commit f9ad70bd81
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ class UIExplorerListBase extends React.Component {
components: [],
apis: [],
}),
searchText: this.props.searchText,
searchText: this.props.searchText || '',
};
}