diff --git a/src/components/layout/parts/PageSideBar.tsx b/src/components/layout/parts/PageSideBar.tsx index 0e7a4ae..718eed6 100644 --- a/src/components/layout/parts/PageSideBar.tsx +++ b/src/components/layout/parts/PageSideBar.tsx @@ -2,7 +2,7 @@ import { FC, useEffect, useState } from 'react'; import { PeopleFill, Person, PersonFill, PlusCircleFill } from 'react-bootstrap-icons'; import { IoIosListBox } from 'react-icons/io'; import { RiFolder6Fill } from 'react-icons/ri'; -import { Link, useNavigate } from 'react-router-dom'; +import { useNavigate } from 'react-router-dom'; import { Accordion, AccordionButton, @@ -167,24 +167,30 @@ const PageSideBar: FC = ({ onClose }) => { - - - - - Create New Retrospective - - - + { + navigate('/create'); + onClose(); + }} + > + + + Create New Retrospective + + - - - - - Go to Retrospect List - - - + { + navigate('/retrolist'); + onClose(); + }} + > + + + Go to the Retrospect List + + diff --git a/src/pages/CreateRetroPage.tsx b/src/pages/CreateRetroPage.tsx index 98a56ce..ec1075e 100644 --- a/src/pages/CreateRetroPage.tsx +++ b/src/pages/CreateRetroPage.tsx @@ -39,7 +39,7 @@ const CreateRetroPage: React.FC = () => { - 팀 회고 템플릿 소개 + 팀 회고 템플릿 @@ -50,7 +50,7 @@ const CreateRetroPage: React.FC = () => { - 개인 회고 템플릿 소개 + 개인 회고 템플릿