Skip to content

Commit 8253d8a

Browse files
committed
fix: 제작중 toast
1 parent 8e0e753 commit 8253d8a

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

src/pages/main/index.tsx

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,13 +102,23 @@ export const MainPage: React.FC = () => {
102102
<S.MainPageCheckBoxSection>
103103
<CheckBox
104104
click={() => {
105-
setRetentionPeriod(!retentionPeriod);
105+
setRetentionPeriod(false);
106+
toast.success('제작중!', {
107+
autoClose: 1000,
108+
position: toast.POSITION.BOTTOM_RIGHT,
109+
});
106110
}}
107111
isCheck={retentionPeriod}
108112
label={'유지기간'}
109113
/>
110114
<CheckBox
111-
click={() => setDownloadCount(!downloadCount)}
115+
click={() => {
116+
setDownloadCount(false);
117+
toast.success('제작중!', {
118+
autoClose: 1000,
119+
position: toast.POSITION.BOTTOM_RIGHT,
120+
});
121+
}}
112122
isCheck={downloadCount}
113123
label={'다운로드 횟수'}
114124
/>

0 commit comments

Comments
 (0)