diff --git a/client/src/hooks/useAxiosPrivate.ts b/client/src/hooks/useAxiosPrivate.ts index be402d0..0db2bae 100644 --- a/client/src/hooks/useAxiosPrivate.ts +++ b/client/src/hooks/useAxiosPrivate.ts @@ -1,6 +1,9 @@ import axios from "@/libs/axios"; import getTokenFromLocalStorage from "@/utils/getTokenFromLocalStorage"; - +/** + * 헤더에 로컬스토리지에 들어있는 토큰을 싣는 Intercepter 가 달린 Axios + * @returns AxiosPrivate + */ const useAxiosPrivate = () => { axios.interceptors.request.use( (config) => {