Skip to content
Snippets Groups Projects
Commit 0edda241 authored by Yusuf Akgül's avatar Yusuf Akgül
Browse files

possible fix

parent dc1f2309
No related branches found
No related tags found
No related merge requests found
Pipeline #38419 passed
"use client"
import { User } from "@prisma/client";
import { useRouter } from "next/navigation";
import { startTransition } from "react";
import { Button } from "./ui/button";
import { User } from "@prisma/client";
export default function AddGameToFinishedList(props: { gameId: string, user: User }) {
......@@ -86,7 +86,7 @@ export default function AddGameToFinishedList(props: { gameId: string, user: Use
)
}
} catch (error) {
throw new Error("Failed to check finished-playing-List");
// throw new Error("Failed to check finished-playing-List");
}
return (
......
"use client"
import { User } from "@prisma/client";
import { useRouter } from "next/navigation";
import { startTransition } from "react";
import { Button } from "./ui/button";
import { User } from "@prisma/client";
export default function AddGameToPlanList(props: { gameId: string, user: User }) {
......@@ -86,7 +86,7 @@ export default function AddGameToPlanList(props: { gameId: string, user: User })
)
}
} catch (error) {
throw new Error("Failed to check Planning-to-play-List");
// throw new Error("Failed to check Planning-to-play-List");
}
return (
......
"use client"
import { User } from "@prisma/client";
import { useRouter } from "next/navigation";
import { startTransition } from "react";
import { Button } from "./ui/button";
import { User } from "@prisma/client";
export default function AddGameToPlayingList(props: { gameId: string, user: User }) {
......@@ -86,7 +86,7 @@ export default function AddGameToPlayingList(props: { gameId: string, user: User
)
}
} catch (error) {
throw new Error("Failed to check playing-to-play-List");
// throw new Error("Failed to check playing-to-play-List");
}
return (
......
......@@ -67,7 +67,7 @@ export default function AddGameToFavList(props: { userGameList: Number[], gameId
)
}
} catch (error) {
throw new Error("Failed to check list");
// throw new Error("Failed to check list");
}
return (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment