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 13, 2022
1 parent e21096c commit 04753ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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 @@ -42,7 +42,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
2 changes: 1 addition & 1 deletion components/project/Template/ProjectsTemplate/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ const ProjectsTemplate = ({ query }: ProjecTemplateProps) => {
{data &&
data.content.length > 0 &&
data.content.map(({ id, name, description, deadline, captain, crews, terminated, dday, totalDay }) => (
<Link href={`project/${id}`} key={`PROJECT_ITEM_${id}`}>
<Link href={`project/${id}/kanban`} key={`PROJECT_ITEM_${id}`}>
<a>
<ProjectItem
name={name}
Expand Down

0 comments on commit 04753ca

Please sign in to comment.