Skip to content

Commit

Permalink
Chore: Remove dummy
Browse files Browse the repository at this point in the history
  • Loading branch information
daejlee committed Dec 13, 2024
1 parent ca0f30e commit 10c5d8f
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions src/components/group/GroupCardContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,6 @@ import ProfileCard from '@/components/cards/ProfileCard';
import { useCheckedStore, useCheckedUsersStore } from '@/lib/stores';
import Group from '@/types/Group';

const dummyUser = {
agree: true,
comment: '십오글자십오글자십오글자십오글',
intraId: '1234',
intraName: 'RipVanWinkle',
location: '개포 5층 6C 테라스',
inCluster: true,
defaultGroupId: 1,
};

export default function GroupCardContainer({ curGroup }: { curGroup: Group }) {
const { checked } = useCheckedStore();
const { checkedUsers } = useCheckedUsersStore();
Expand All @@ -31,12 +21,6 @@ export default function GroupCardContainer({ curGroup }: { curGroup: Group }) {
/>
),
)}
<ProfileCard
user={dummyUser}
isEdit={curGroup.isInEdit}
isCheck={checkedUsers.includes(dummyUser)}
group={curGroup}
/>
</div>
{(curGroup.members.length === 0 ||
(checked && !curGroup.members.filter((member) => member.inCluster).length)) && (
Expand Down

0 comments on commit 10c5d8f

Please sign in to comment.