removed song sharing expiration countdown

This commit is contained in:
Polaris
2024-07-28 01:24:54 -04:00
parent d01a88a645
commit aabbef26bf
3 changed files with 42 additions and 47 deletions

View File

@ -33,14 +33,14 @@ export const columns: ColumnDef<chunithm>[] = [
const jacketPath = row.original.jacketPath?.replace(".dds", ".png");
const [isLoading, setIsLoading] = useState(true);
return (
<div className="font-medium w-[300px] truncate flex items-center">
<div className="flex w-[300px] items-center truncate font-medium">
{!jacketPath ? (
<Skeleton className="w-8 h-8 inline-block mr-2" />
<Skeleton className="mr-2 inline-block h-8 w-8" />
) : (
<img
src={`/jacketArt/${jacketPath}`}
alt="Jacket"
className="w-8 h-8 inline-block mr-2"
className="mr-2 inline-block h-8 w-8"
/>
)}
<span className="truncate">{row.original.title}</span>
@ -149,10 +149,8 @@ export const columns: ColumnDef<chunithm>[] = [
{
id: "actions",
header: () => <div className="text-left pl-2">More</div>,
header: () => <div className="pl-2 text-left">More</div>,
cell: ({ row }) => {
const song = row.original;
// eslint-disable-next-line react-hooks/rules-of-hooks
const [error, setError] = useState<string>("");
// eslint-disable-next-line react-hooks/rules-of-hooks
const router = useRouter();