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 {