feat: ci/cd
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user