Browse Source

Merge pull request #287 from djpowers/patch-1

Add missing variable in AJAX FAQ example
main
Brian Vaughn 7 years ago
committed by GitHub
parent
commit
2923dcb117
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      content/docs/faq-ajax.md

2
content/docs/faq-ajax.md

@ -55,7 +55,7 @@ class MyComponent extends React.Component {
}
render() {
const { error, items } = this.state;
const { error, isLoaded, items } = this.state;
if (error) {
return <div>Error: {error.message}</div>;
} else if (!isLoaded) {

Loading…
Cancel
Save