Skip to content

Commit

Permalink
fix: POST 요청 오류 시 에러 화면 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
sooyeoniya committed Aug 23, 2024
1 parent 4c23011 commit 282961d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ export default function RushCardComparison() {
isLoading: isLoadingPostSelectedRushOption,
fetchData: postSelectedRushOptionApply,
} = useFetch<RushEventStatusCodeResponse, { token: string; optionId: CardOption }>(
({ token, optionId }) => RushAPI.postSelectedRushOptionApply(token, optionId)
({ token, optionId }) => RushAPI.postSelectedRushOptionApply(token, optionId),
false
);

const handleCardSelection = async (optionId: CardOption) => {
Expand Down

0 comments on commit 282961d

Please sign in to comment.