You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14-8Lines changed: 14 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -347,8 +347,8 @@ and our custom function PLUS the initial state set to null
347
347
After copying and pasting both snippets inside the `Button.js` file, we fetch from the url `http://localhost:3000/api/v1/movies` in a json format and once we return a true response we will set the response to the data variable and console log the results into the browser.
348
348
349
349
This should be the complete Button.js file below!
350
-
```javascript
351
350
351
+
```javascript
352
352
importReact, { Component } from'react';
353
353
354
354
classButtonextendsComponent {
@@ -358,19 +358,19 @@ class Button extends Component {
0 commit comments