Skip to content

Commit 73eb1fc

Browse files
committed
fix: session interface import
1 parent 8b0272f commit 73eb1fc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/contexts/SessionContext/SessionContext.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
import { createContext, useCallback, useEffect, useState } from 'react';
22

3-
import { ISession, ISessionContext } from './types';
3+
import { ISessionContext } from './types';
44
import { SessionServices } from '@/service';
5+
import { ISession } from '@/service/sessions/types';
56

67
const SessionContext = createContext({} as ISessionContext);
78

src/service/sessions/session.service.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
import { ISession } from '../../contexts/SessionContext/types';
21
import { IServerResponse } from '../../types';
32
import { api } from '@/api';
4-
import { IAuthRequest, IAuthResponse } from './types';
3+
import { IAuthRequest, IAuthResponse, ISession } from './types';
54

65
const SessionServices = {
76
auth: async (payload: IAuthRequest): Promise<IAuthResponse> => {

0 commit comments

Comments
 (0)