Skip to content

Commit

Permalink
fix coupon local storage var
Browse files Browse the repository at this point in the history
  • Loading branch information
skang9810 committed Dec 19, 2024
1 parent 87181d9 commit 6eab40d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pages/coupon/Coupon.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ const Coupon = () => {
if (res == '이미 쿠폰을 발급받았습니다.') {
toast.error(res);
setIsDownloaded(true);
localStorage.setItem('isDownloaded', true);
return;
}
if (res?.includes('대기열에 참여했습니다.')) {
Expand Down

0 comments on commit 6eab40d

Please sign in to comment.