File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -57,13 +57,23 @@ const AlarmPage = () => {
57
57
const toggleInterestedProductAlarm = ( ) => {
58
58
const newInterestedOn = ! isInterestedProductAlarmOn ;
59
59
setIsInterestedProductAlarmOn ( newInterestedOn ) ;
60
- updateNotificationStatus ( newInterestedOn , isMoaguideAlarmOn ! ) ;
60
+ updateNotificationStatus ( newInterestedOn , isMoaguideAlarmOn ! ) ;
61
+ alert (
62
+ `관심 상품 업데이트 알림이 ${
63
+ newInterestedOn ? '설정되었습니다.' : '해제되었습니다.'
64
+ } `
65
+ ) ;
61
66
} ;
62
67
63
68
const toggleMoaguideAlarm = ( ) => {
64
69
const newMoaguideOn = ! isMoaguideAlarmOn ;
65
70
setIsMoaguideAlarmOn ( newMoaguideOn ) ;
66
71
updateNotificationStatus ( isInterestedProductAlarmOn ! , newMoaguideOn ) ;
72
+ alert (
73
+ `모아가이드 제공 알림이 ${
74
+ newMoaguideOn ? '설정되었습니다.' : '해제되었습니다.'
75
+ } `
76
+ ) ;
67
77
} ;
68
78
69
79
if ( isInterestedProductAlarmOn === null || isMoaguideAlarmOn === null ) {
You can’t perform that action at this time.
0 commit comments