Skip to content

Commit

Permalink
Merge pull request #250 from MOONSHOT-Team/develop
Browse files Browse the repository at this point in the history
[HOTFIX :OBJ없을 때 에러] develop -> main
  • Loading branch information
SooY2 authored Mar 26, 2024
2 parents 16fead7 + 7b55e19 commit bc62651
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const MainDashboardOKRTree = ({ onShowSideSheet, currentOkrData }: IMainDashboar
}, [currentOkrData]);

useEffect(() => {
setEditKrList(data?.data.tree.krList);
setEditKrList(data?.data?.tree?.krList);
}, [data]);

const handleAddTask = (krId: number | undefined) => {
Expand Down

0 comments on commit bc62651

Please sign in to comment.