diff --git a/frontend/src/shared/hooks/useMutation.ts b/frontend/src/shared/hooks/useMutation.ts index f332c45f..ecdb990c 100644 --- a/frontend/src/shared/hooks/useMutation.ts +++ b/frontend/src/shared/hooks/useMutation.ts @@ -4,6 +4,9 @@ import { useLoginModalByError } from '@/features/auth/hooks/useLoginModalByError import AuthError from '@/shared/remotes/AuthError'; import type { ErrorResponse } from '../types/errorResponse'; +/** + * @deprecated react-query의 useMutation 훅을 사용해주세요. + */ // eslint-disable-next-line export const useMutation = (mutateFn: (...params: P) => Promise) => { const [data, setData] = useState(null);