diff --git a/src/utils/apiAdapter.ts b/src/utils/apiAdapter.ts index 2cd4b27be9a82a5f4afc6d52eafcc18c5a8a2065..d2dc223f91bb86b97c444fb786165aa20e3e8bb8 100644 --- a/src/utils/apiAdapter.ts +++ b/src/utils/apiAdapter.ts @@ -4,7 +4,7 @@ import {setupCache} from 'axios-cache-interceptor'; import {RecipeResponseType} from "../types/RecipeResponseType.ts"; const axiosInstance = Axios.create(); -const axiosCached = setupCache(axiosInstance); +const axiosCached = setupCache(axiosInstance, {cacheTakeover: false}); const parseRecipeResponse = (recipeData: RecipeResponseType) => { const ingredients = Array.from({length: 20}, (_, i) => ({