From b6afeb028eaf0e9d5b72a2673169e9d3a162dba0 Mon Sep 17 00:00:00 2001 From: anjaemin Date: Thu, 27 Oct 2022 19:03:18 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B0=9C=EB=B0=9C=20branch=20=EC=A0=84?= =?UTF-8?q?=EC=9A=A9=20=EC=BD=94=EB=93=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/common/Navbar/index.tsx | 13 +------------ src/pages/main/index.tsx | 22 +++------------------- 2 files changed, 4 insertions(+), 31 deletions(-) diff --git a/src/components/common/Navbar/index.tsx b/src/components/common/Navbar/index.tsx index 158854f..3f7a739 100644 --- a/src/components/common/Navbar/index.tsx +++ b/src/components/common/Navbar/index.tsx @@ -1,22 +1,11 @@ import React from 'react'; -import { toast } from 'react-toastify'; import * as S from './styled'; export const Navbar: React.FC = () => ( Upload - { - toast.success('제작중!', { - autoClose: 1000, - position: toast.POSITION.BOTTOM_RIGHT, - }); - }} - > - API - + API File list ); diff --git a/src/pages/main/index.tsx b/src/pages/main/index.tsx index 35161de..0485769 100644 --- a/src/pages/main/index.tsx +++ b/src/pages/main/index.tsx @@ -98,34 +98,18 @@ export const MainPage: React.FC = () => { { - setRetentionPeriod(false); - toast.success('제작중!', { - autoClose: 1000, - position: toast.POSITION.BOTTOM_RIGHT, - }); + setRetentionPeriod(!retentionPeriod); }} isCheck={retentionPeriod} label={'유지기간'} /> { - setDownloadCount(false); - toast.success('제작중!', { - autoClose: 1000, - position: toast.POSITION.BOTTOM_RIGHT, - }); - }} + click={() => setDownloadCount(!downloadCount)} isCheck={downloadCount} label={'다운로드 횟수'} /> { - setPasswordBoolean(false); - toast.success('제작중!', { - autoClose: 1000, - position: toast.POSITION.BOTTOM_RIGHT, - }); - }} + click={() => setPasswordBoolean(!passwordBoolean)} isCheck={passwordBoolean} label={'비밀번호'} />