diff --git a/components/scoreplaylog/colums.tsx b/components/scoreplaylog/colums.tsx index e754028..bcf048a 100644 --- a/components/scoreplaylog/colums.tsx +++ b/components/scoreplaylog/colums.tsx @@ -18,10 +18,10 @@ export const columns: ColumnDef[] = [ cell: ({ row }) => { return ( - +
+ + {row.original.title} +
); }, }, diff --git a/components/scoreplaylog/image.tsx b/components/scoreplaylog/image.tsx index 67a185a..c66cd01 100644 --- a/components/scoreplaylog/image.tsx +++ b/components/scoreplaylog/image.tsx @@ -4,10 +4,9 @@ import { Skeleton } from "../ui/skeleton"; interface ImageCellProps { jacketPath: string | undefined; - title: string; } -const ImageCell: React.FC = ({ jacketPath, title }) => { +const ImageCell: React.FC = ({ jacketPath }) => { const [isLoading, setIsLoading] = useState(true); const handleImageLoad = () => { @@ -33,7 +32,6 @@ const ImageCell: React.FC = ({ jacketPath, title }) => { ) : ( )} - {title} ); }; diff --git a/lib/helpers.ts b/lib/helpers.ts index a4d1ece..671c4a4 100644 --- a/lib/helpers.ts +++ b/lib/helpers.ts @@ -1,9 +1,3 @@ -import { getAuth } from "@/auth/queries/getauth"; -import { daphnis } from "./prisma"; -import { GameVersion } from "@/prisma/schemas/daphnis/generated/daphnis"; -import { getGameVersion } from "./api"; -import { LucideSuperscript } from "lucide-react"; - export const getDifficultyClass = (level: number) => { switch (level) { case 0: @@ -38,7 +32,7 @@ export const getDifficultyText = (chartId: number | null) => { case 5: return "WORLDS END"; default: - return "UNKNOWN"; // Default text if chartId doesn't match any case + return ""; // Default text if chartId doesn't match any case } };