From cf253b482a6f88dee514af9e4dcbbd54121e8faa Mon Sep 17 00:00:00 2001 From: Paul SQUIZZATO Date: Wed, 15 Mar 2023 10:31:47 +0100 Subject: [PATCH] nouvelle branche pour les redux : It's APIn' time :bat::drop_of_blood: --- redux/fonctionsThunk.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/redux/fonctionsThunk.ts b/redux/fonctionsThunk.ts index cc0c5da..7291c48 100644 --- a/redux/fonctionsThunk.ts +++ b/redux/fonctionsThunk.ts @@ -15,6 +15,7 @@ export const getCityApi = (cityName:string) =>{ } } + export const getWeatherCityApi = (ville: City) => if (City === undefined)return {}; return async dispatch => {