Closed ceboozer closed 2 years ago
That isn't my file...I talked to Quinn and he doesn't think it's being used right now anyway.
ReviewOfRecipe I will take a look at!
We can delete the file AdvancedRecipeSearch.tsx as we've combined it with the recipes.tsx
@jtschuler @afrederiksen please re-check :)
Merge whenever you're ready @ceboozer
I've added the authorization headers, but may want to add error handling for HTTP 401 responses in AdvancedRecipeSearch.tsx and ReviewOfRecipe.tsx:
axios.{delete/put/post}( ... ).then( response => { ... }).catch( e => { // This is where you would handle a 401. Probably just redirect to the login page });