fix: type errors
This commit is contained in:
@@ -199,7 +199,7 @@ export function NewCardForm({ listPublicId }: NewCardFormProps) {
|
|||||||
>
|
>
|
||||||
<span className="text-[8px] font-medium leading-none text-white">
|
<span className="text-[8px] font-medium leading-none text-white">
|
||||||
{member?.value
|
{member?.value
|
||||||
.split(" ")
|
?.split(" ")
|
||||||
.map((namePart) =>
|
.map((namePart) =>
|
||||||
namePart.charAt(0).toUpperCase(),
|
namePart.charAt(0).toUpperCase(),
|
||||||
)
|
)
|
||||||
@@ -240,7 +240,7 @@ export function NewCardForm({ listPublicId }: NewCardFormProps) {
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<svg
|
<svg
|
||||||
fill={label?.colourCode}
|
fill={label?.colourCode ?? "#3730a3"}
|
||||||
className="h-2 w-2"
|
className="h-2 w-2"
|
||||||
viewBox="0 0 6 6"
|
viewBox="0 0 6 6"
|
||||||
aria-hidden="true"
|
aria-hidden="true"
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ interface CheckboxDropdownProps {
|
|||||||
children: React.ReactNode;
|
children: React.ReactNode;
|
||||||
items: {
|
items: {
|
||||||
key: string;
|
key: string;
|
||||||
value: string;
|
value: string | null;
|
||||||
selected: boolean;
|
selected: boolean;
|
||||||
}[];
|
}[];
|
||||||
handleSelect: (item: { key: string }) => void;
|
handleSelect: (item: { key: string }) => void;
|
||||||
|
|||||||
Reference in New Issue
Block a user