added diff name and setup skeleton for top recent plays
This commit is contained in:
@ -18,7 +18,7 @@ import { generateShareToken } from "@/app/(sharing)/[token]/token";
|
||||
import { ArrowUpDown, MoreHorizontalIcon } from "lucide-react";
|
||||
import { chuni_score_playlog } from "@/prisma/schemas/artemis/generated/artemis";
|
||||
import { chuni_static_music } from "@/prisma/schemas/artemis/generated/artemis";
|
||||
import { getGrade } from "@/lib/helpers";
|
||||
import { getDifficultyText, getGrade } from "@/lib/helpers";
|
||||
import { Skeleton } from "../ui/skeleton";
|
||||
|
||||
type chunithm = chuni_score_playlog &
|
||||
@ -105,7 +105,13 @@ export const columns: ColumnDef<chunithm>[] = [
|
||||
{
|
||||
accessorKey: "difficulty",
|
||||
header: "Difficulty",
|
||||
cell: ({ row }) => <div className="font-medium">{row.original.level}</div>,
|
||||
cell: ({ row }) => (
|
||||
<div className="font-medium">
|
||||
{row.original.level}
|
||||
<br />
|
||||
{getDifficultyText(row.original.chartId)}
|
||||
</div>
|
||||
),
|
||||
},
|
||||
{
|
||||
accessorKey: "FC / AJ",
|
||||
|
Reference in New Issue
Block a user