Skip to content

Commit

Permalink
feat: 토스트 에러 메시지 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
xodms0309 committed Nov 2, 2023
1 parent fc9e79f commit ee318b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const useRecipeFavoriteMutation = (recipeId: number) => {
return;
}

toast.error('꿀조합 좋아요를 다시 시도해주세요.');
toast.error('좋아요를 다시 시도해주세요.');
},
onSettled: () => {
queryClient.invalidateQueries({ queryKey: queryKey });
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const useReviewFavoriteMutation = (productId: number, reviewId: number) => {
return;
}

toast.error('리뷰 좋아요를 다시 시도해주세요.');
toast.error('좋아요를 다시 시도해주세요.');
},
onSuccess: () => queryClient.invalidateQueries({ queryKey: queryKey }),
});
Expand Down

0 comments on commit ee318b8

Please sign in to comment.