diff --git a/examples/src/components/GithubUsers.js b/examples/src/components/GithubUsers.js index 1c8bcdb49e..05939d7174 100644 --- a/examples/src/components/GithubUsers.js +++ b/examples/src/components/GithubUsers.js @@ -37,10 +37,10 @@ const GithubUsers = React.createClass({ } return fetch(`https://api.github.com/search/users?q=${input}`) - .then((response) => response.json()) - .then((json) => { - return { options: json.items }; - }); + .then((response) => response.json()) + .then((json) => { + return { options: json.items }; + }); }, gotoUser (value, event) { window.open(value.html_url);