added title to scores tables

This commit is contained in:
Polaris
2024-08-29 17:29:34 -04:00
parent 30893bc1fe
commit 5aa70f5f45
3 changed files with 6 additions and 14 deletions

View File

@ -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
}
};