diff --git a/src/apis/reissue.ts b/src/apis/reissue.ts index be0d7e8..973a4d3 100644 --- a/src/apis/reissue.ts +++ b/src/apis/reissue.ts @@ -1,8 +1,5 @@ -import axios, { AxiosError } from 'axios'; -import { - ApiResponseType, - ApiResponseWithDataType, -} from '@/types/apiResponseType'; +import axios from 'axios'; +import { ApiResponseWithDataType } from '@/types/apiResponseType'; export const reissue = async () => { try { @@ -16,6 +13,6 @@ export const reissue = async () => { ); return data; } catch (err) { - alert((err as AxiosError).response?.data.message); + console.error(err); } };