Skip to content

Commit

Permalink
Merge pull request #279 from ODOICHON/fix/#278
Browse files Browse the repository at this point in the history
fix: refresh ํ† ํฐ ๋งŒ๋ฃŒ ์‹œ ์‚ฌ์šฉ์ž์—๊ฒŒ Alert๋ฅผ ๋ณด์—ฌ์ฃผ์ง€ ์•Š๋„๋ก ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค.
  • Loading branch information
sangminlee98 authored Aug 18, 2024
2 parents 6ee9081 + 9a33361 commit 2e3df7a
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/apis/reissue.ts
Original file line number Diff line number Diff line change
@@ -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 {
Expand All @@ -16,6 +13,6 @@ export const reissue = async () => {
);
return data;
} catch (err) {
alert((err as AxiosError<ApiResponseType>).response?.data.message);
console.error(err);
}
};

0 comments on commit 2e3df7a

Please sign in to comment.