new version
This commit is contained in:
@@ -1,36 +0,0 @@
|
||||
"use client"
|
||||
|
||||
import { useLocale, useTranslations } from "next-intl";
|
||||
import type { Document } from "@/types";
|
||||
import { Item, ItemActions, ItemContent, ItemDescription, ItemTitle } from "@/components/ui/item";
|
||||
import { Button } from "@/components/ui/button";
|
||||
import { Spinner } from "@/components/ui/spinner";
|
||||
import { localeMap } from "@/types";
|
||||
import { enUS } from "date-fns/locale";
|
||||
import { format } from "date-fns";
|
||||
import { revokeConsent } from "@/actions/consents";
|
||||
import { useState } from "react";
|
||||
import { toast } from "sonner";
|
||||
import { Check, X } from "lucide-react";
|
||||
|
||||
interface Props {
|
||||
documents: Document[] | null;
|
||||
}
|
||||
|
||||
export default function Documents({ documents }: Props) {
|
||||
const t = useTranslations("MePage.items.applications");
|
||||
|
||||
const locale = useLocale();
|
||||
|
||||
return (
|
||||
<div className="w-full lg:max-w-sm flex flex-col gap-4">
|
||||
<div className="space-y-2">
|
||||
<h1 className="text-xl">Documents</h1>
|
||||
<p className="text-sm text-muted-foreground">There you can find all of your documents issued by the European Federation</p>
|
||||
</div>
|
||||
<div className="space-y-4">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user