From 1ecd806e4d73c11a6d9a4cbc654bf2a392095719 Mon Sep 17 00:00:00 2001 From: VartoS Date: Mon, 30 Dec 2024 19:56:57 +0500 Subject: [PATCH] =?UTF-8?q?=D1=84=D0=B8=D0=BD=D0=B0=D0=BB=D0=BE=D1=87?= =?UTF-8?q?=D0=BA=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store/api-actions.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/store/api-actions.ts b/src/store/api-actions.ts index 4076abd..e1fb0af 100644 --- a/src/store/api-actions.ts +++ b/src/store/api-actions.ts @@ -20,7 +20,10 @@ import { setUserData, updateUserFavorites, } from './user-process/user-process.slice'; -import { changeCityAction, updateFavoriteInfo } from './data-process/data-process.slice'; +import { + changeCityAction, + updateFavoriteInfo, +} from './data-process/data-process.slice'; export const fetchOffersAction = createAsyncThunk< Offer[], @@ -177,6 +180,6 @@ export const logoutAction = createAsyncThunk< dropToken(); dispatch(fetchOffersAction()); dispatch(setUserData(null)); - dispatch(changeCityAction(CityData[CityName.Paris])) + dispatch(changeCityAction(CityData[CityName.Paris])); dispatch(redirectToRoute(AppRoutes.Root)); });