feat: ci/cd

This commit is contained in:
Giovanni Rezcjikov
2026-03-09 12:50:29 +03:00
parent f4e4fb21e3
commit daaa702dad
21 changed files with 585 additions and 267 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ import Applications from "./items/applications";
interface Props {
userData: User | null;
consentsData: Consent[] | [];
consentsData: Consent[] | null;
}
export default function MeClient({ userData, consentsData }: Props) {
@@ -9,7 +9,7 @@ import { enUS } from "date-fns/locale";
import { format } from "date-fns";
interface Props {
consents: Consent[] | [];
consents: Consent[] | null;
setConsents: (consents: Consent[]) => void;
}
@@ -24,7 +24,7 @@ export default function Applications({ consents, setConsents }: Props) {
<h1 className="text-xl">{t("title")}</h1>
<div className="space-y-4">
{consents.map((consent) => (
{consents?.map((consent) => (
<Item key={consent.client_id}>
<ItemContent>
<ItemTitle>{consent.client_name}</ItemTitle>