diff --git a/src/components/TeamProgress/MemberProgressItem.tsx b/src/components/TeamProgress/MemberProgressItem.tsx index 287e64039..4c65f7703 100644 --- a/src/components/TeamProgress/MemberProgressItem.tsx +++ b/src/components/TeamProgress/MemberProgressItem.tsx @@ -1,7 +1,6 @@ import type { TeamMember } from './TeamProgressPage'; import { useState } from 'preact/hooks'; import { MemberProgressModal } from './MemberProgressModal'; -import { useAuth } from '../../hooks/use-auth'; type MemberProgressItemProps = { teamId: string; @@ -9,8 +8,6 @@ type MemberProgressItemProps = { }; export function MemberProgressItem(props: MemberProgressItemProps) { const { member, teamId } = props; - const user = useAuth(); - const isCurrentUser = user?.email === member.email; const memberProgress = member?.progress?.sort((a, b) => { return b.done - a.done; @@ -34,7 +31,7 @@ export function MemberProgressItem(props: MemberProgressItemProps) { )}