Closed ericahagle closed 10 months ago
Right now, we have our API call defined directly in the App.js file. Instead, we should define it (and other API calls) in a separate file that we can call apiCalls.js, then invoke those functions in the App.js file.
App.js
apiCalls.js
Right now, we have our API call defined directly in the
App.js
file. Instead, we should define it (and other API calls) in a separate file that we can callapiCalls.js
, then invoke those functions in theApp.js
file.