Skip to content

Commit

Permalink
fix: last build issues hopefully
Browse files Browse the repository at this point in the history
  • Loading branch information
SilveerDusk committed May 30, 2024
1 parent 69431c7 commit 097c408
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions frontend/src/components/Basket.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ import NewItemOptions from "./NewItemOptions";
import EditBasket from "./EditBasket";
import AddFriendToBasket from "./AddFriendToBasket";
import { fetchBasket } from "../../lib/fetches";
import { IBasket } from "backend/models/basketSchema";
import { IBasket } from "../../../backend/models/basketSchema";
import { IUser } from "../../../backend/models/userSchema";
import { ObjectId } from "mongoose";

interface Props {
basketId: string;
Expand Down Expand Up @@ -161,7 +162,7 @@ const BasketComp = ({
<Divider borderColor="black" marginTop="1%" />
<VStack>
{basketObj ? (
basketObj.items?.map((item) => {
basketObj.items?.map((item: ObjectId) => {
return (
<BasketItem
key={item.toString()}
Expand Down

0 comments on commit 097c408

Please sign in to comment.