This commit is contained in:
g
2025-12-15 18:09:38 +00:00
parent 0176f89cb7
commit f697181d00
89 changed files with 177 additions and 134 deletions

View File

@@ -1,4 +1,4 @@
"use client";
"use client";
import { useEffect, useState } from "react";
import { fetchClient } from "@/lib/api-client";
@@ -63,7 +63,7 @@ export default function VendorsCard() {
<div className="font-medium">{vendor.username}</div>
<div className="text-xs text-muted-foreground">
Created: {new Date(vendor.createdAt).toLocaleDateString()}
{vendor.lastLogin && ` Last login: ${new Date(vendor.lastLogin).toLocaleDateString()}`}
{vendor.lastLogin && ` · Last login: ${new Date(vendor.lastLogin).toLocaleDateString()}`}
</div>
</div>
<div className="flex items-center gap-2">