правка предупреждений
This commit is contained in:
@@ -26,6 +26,7 @@ export function IngredientInfoModal({ingredient}) {
|
||||
api().get(requests.cocktails.byIngredient + ingredient.id)
|
||||
.then((r) => setCocktails(r.data))
|
||||
.catch(() => createError())
|
||||
// eslint-disable-next-line
|
||||
}, [ingredient]);
|
||||
|
||||
if (!ingredient) {
|
||||
|
||||
Reference in New Issue
Block a user