From f62de3e7c668e5d51463bee4a48665e5e02772ae Mon Sep 17 00:00:00 2001 From: Anastasiia Date: Fri, 5 Apr 2024 15:53:58 +0300 Subject: [PATCH] MSP-3103 fix path in import in stores/reducers --- src/stores/redusers/ActionCreators.ts | 8 +++++--- src/stores/redusers/ProfileSlice.ts | 3 ++- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/stores/redusers/ActionCreators.ts b/src/stores/redusers/ActionCreators.ts index 0c17a60..9ccad9a 100644 --- a/src/stores/redusers/ActionCreators.ts +++ b/src/stores/redusers/ActionCreators.ts @@ -1,8 +1,10 @@ import { createAsyncThunk } from '@reduxjs/toolkit' -import { apiPaths } from '../../constants/api/apiPaths.ts' -import { apiService } from '../../services/apiService.ts' -import { ProfileDataType } from '../../type/profile.type.ts' +import { apiPaths } from '@constants/api/apiPaths.ts' + +import { apiService } from '@services/apiService.ts' + +import { ProfileDataType } from '@type/profile.type.ts' export const fetchProfile = createAsyncThunk( 'profile/fetchProfile', diff --git a/src/stores/redusers/ProfileSlice.ts b/src/stores/redusers/ProfileSlice.ts index d806756..0bdd9e0 100644 --- a/src/stores/redusers/ProfileSlice.ts +++ b/src/stores/redusers/ProfileSlice.ts @@ -4,7 +4,8 @@ import { createSlice } from '@reduxjs/toolkit' -import { ProfileDataType, ProfileType } from '../../type/profile.type.ts' +import { ProfileDataType, ProfileType } from '@type/profile.type.ts' + import { fetchProfile } from './ActionCreators.ts' export enum StateProfileStatus {