Skip to content

Commit

Permalink
fix: 제작중 toast
Browse files Browse the repository at this point in the history
  • Loading branch information
ananjaemin committed Nov 2, 2022
1 parent 8e0e753 commit 8253d8a
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions src/pages/main/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,23 @@ export const MainPage: React.FC = () => {
<S.MainPageCheckBoxSection>
<CheckBox
click={() => {
setRetentionPeriod(!retentionPeriod);
setRetentionPeriod(false);
toast.success('제작중!', {
autoClose: 1000,
position: toast.POSITION.BOTTOM_RIGHT,
});
}}
isCheck={retentionPeriod}
label={'유지기간'}
/>
<CheckBox
click={() => setDownloadCount(!downloadCount)}
click={() => {
setDownloadCount(false);
toast.success('제작중!', {
autoClose: 1000,
position: toast.POSITION.BOTTOM_RIGHT,
});
}}
isCheck={downloadCount}
label={'다운로드 횟수'}
/>
Expand Down

0 comments on commit 8253d8a

Please sign in to comment.