From 6a779419f7a245e167b5a4baf4ceef9d6232f45d Mon Sep 17 00:00:00 2001 From: qkdflrgs Date: Thu, 10 Aug 2023 20:21:10 +0900 Subject: [PATCH] =?UTF-8?q?refactor/#146:=20=EB=A9=94=EC=9D=B8=20=ED=8E=98?= =?UTF-8?q?=EC=9D=B4=EC=A7=80=20=EB=A6=AC=ED=8C=A9=ED=86=A0=EB=A7=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FE/src/pages/MainPage.tsx | 53 ++++++++++++++++++++++++++++----------- 1 file changed, 39 insertions(+), 14 deletions(-) diff --git a/FE/src/pages/MainPage.tsx b/FE/src/pages/MainPage.tsx index 987c755cd..b5d1cb7c9 100644 --- a/FE/src/pages/MainPage.tsx +++ b/FE/src/pages/MainPage.tsx @@ -21,6 +21,14 @@ export default function MainPage() { navigate("/new"); }; + const goLabelsPage = () => { + navigate("/labels"); + }; + + const goMilestonesPage = () => { + navigate("/milestones"); + }; + const showOpenIssue = () => { navigate("/issues/isOpen=true"); }; @@ -78,15 +86,15 @@ export default function MainPage() { type={"ghost"} size={"medium"} width={"50%"} - onClick={() => {}} + onClick={goLabelsPage} />