fix: type errors

This commit is contained in:
Henry
2024-03-24 14:42:29 +00:00
parent a2541d2f40
commit ac3fff47c7
2 changed files with 3 additions and 3 deletions

View File

@@ -199,7 +199,7 @@ export function NewCardForm({ listPublicId }: NewCardFormProps) {
>
<span className="text-[8px] font-medium leading-none text-white">
{member?.value
.split(" ")
?.split(" ")
.map((namePart) =>
namePart.charAt(0).toUpperCase(),
)
@@ -240,7 +240,7 @@ export function NewCardForm({ listPublicId }: NewCardFormProps) {
return (
<>
<svg
fill={label?.colourCode}
fill={label?.colourCode ?? "#3730a3"}
className="h-2 w-2"
viewBox="0 0 6 6"
aria-hidden="true"

View File

@@ -7,7 +7,7 @@ interface CheckboxDropdownProps {
children: React.ReactNode;
items: {
key: string;
value: string;
value: string | null;
selected: boolean;
}[];
handleSelect: (item: { key: string }) => void;