Skip to content

Commit

Permalink
fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
zmattes04 committed Jun 5, 2024
1 parent 957e7c8 commit 42d9d75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/Basket.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import { fetchBasket, fetchMembers } from "../../lib/fetches";
import { IBasket } from "../../../backend/models/basketSchema";
import { IUser } from "../../../backend/models/userSchema";
import { ObjectId } from "mongoose";
import RemoveFromBasket from "./removeUserFromBasket";

// Define the props for the component
interface Props {
Expand Down Expand Up @@ -191,6 +190,7 @@ const BasketComp = ({
) : LoggedInUser &&
basketObj.members.includes(LoggedInUser._id) ? (
<AddFriendToBasket
groupId={groupId}
basketId={basketId.toString()}
groupMembers={[LoggedInUser]}
basketMemberIds={basketObj?.members}
Expand Down

0 comments on commit 42d9d75

Please sign in to comment.