Skip to content

Commit

Permalink
chore: 컨벤션에 맞게 수정 #179
Browse files Browse the repository at this point in the history
  • Loading branch information
seoye0ng committed Feb 20, 2024
1 parent 8f45e5b commit c96dbd1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/hooks/useIntervalRefreshToken.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import useRefreshToken from '@remote/queries/auth/useRefreshToken';

const JWT_EXPIRY_TIME = 15 * 60 * 1000;
const JWT_EXPIRY_TIME = 14 * 60 * 1000;

function useIntervalRefreshToken() {
const { mutate: refresh } = useRefreshToken();
Expand Down
2 changes: 1 addition & 1 deletion src/remote/queries/auth/useRefreshToken.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { useCookies } from 'react-cookie';

import { useMutation } from '@tanstack/react-query';

import useLoggedOut from '@/hooks/useLoggedOut';
import useLoggedOut from '@hooks/useLoggedOut';
import { refreshToken } from '@remote/api/requests/auth/auth.post.api';
import { RefreshTokenType } from '@remote/api/types/auth';

Expand Down

0 comments on commit c96dbd1

Please sign in to comment.