Skip to content

Commit

Permalink
Member Not found isseu
Browse files Browse the repository at this point in the history
  • Loading branch information
badalkhatri0924 committed Dec 1, 2023
1 parent 793ed64 commit b068384
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/web/app/hooks/features/useAuthTeamTasks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export function useAuthTeamTasks(user: IUser | undefined) {
const tasks = useRecoilValue(tasksByTeamState);

const { activeTeam } = useOrganizationTeams();
const currentMember = activeTeam?.members.find((member) => member.employee?.userId === user?.id);
const currentMember = activeTeam?.members?.find((member) => member.employee?.userId === user?.id);

const assignedTasks = useMemo(() => {
if (!user) return [];
Expand Down

0 comments on commit b068384

Please sign in to comment.