...
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-11-16 15:10:49 +08:00
parent b1a3add1d9
commit 1473a72a2f
2 changed files with 6 additions and 2 deletions

View File

@@ -6,6 +6,7 @@ import { Folder } from "lucide-react";
import { useRouter } from "next/navigation";
import { Center } from "@/components/Center";
import { useTranslations } from "next-intl";
import Link from "next/link";
interface FolderSelectorProps {
folders: (folder & { total_pairs: number })[];
@@ -20,6 +21,7 @@ const FolderSelector: React.FC<FolderSelectorProps> = ({ folders }) => {
{(folders.length === 0 && (
<h1 className="text-2xl text-gray-900 font-light">
{t("noFolders")}
<Link className="text-blue-900 border-b" href={"/folders"}>folders</Link>
</h1>
)) || (
<>