Skip to content

Commit

Permalink
fix: 프로젝트 시작페이지 kanban으로
Browse files Browse the repository at this point in the history
- #66
  • Loading branch information
SaaaHoP committed Oct 20, 2022
1 parent 67fdfb9 commit 04e9813
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion components/common/GNB/ProjectTab/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const ProjectTab = ({ projectTabRef, myInfo, setIsProjectTabOpen }: ProjectTabPr
const onClickListItemTab = (e: MouseEvent<HTMLLIElement>, projectId: number) => {
e.stopPropagation();
setIsProjectTabOpen(false);
router.push(`/project/${projectId}`);
router.push(`/project/${projectId}/kanban`);
};

return (
Expand Down
4 changes: 2 additions & 2 deletions components/project/Template/ProjectsTemplate/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ const ProjectsTemplate = ({ query }: ProjecTemplateProps) => {
{data &&
data.content.length > 0 &&
data.content.map(({ id, name, description, deadline, captain, crews, terminated, dday, totalDay }) => (
<Link key={`PROJECT_ITEM_${id}`} href={`project/${id}`}>
<a href={`project/${id}`}>
<Link href={`project/${id}/kanban`} key={`PROJECT_ITEM_${id}`}>
<a>
<ProjectItem
name={name}
description={description}
Expand Down

0 comments on commit 04e9813

Please sign in to comment.