Skip to content

Commit

Permalink
fix: ts ci errors (#767)
Browse files Browse the repository at this point in the history
  • Loading branch information
paanSinghCoder authored Sep 6, 2024
1 parent b77b742 commit 153e06a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions ui/src/components/CustomField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ type CustomFieldNameProps = {
variant?: "textarea" | "input" | "select" | "multiselect" | "switch";
style?: CSSProperties;
options?: Array<{ label: string; value: any }>;
placeholder?: string;
};

export const CustomFieldName = ({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const getColumns: (
},
{
header: "Platform User",
accessorKey: "",
accessorKey: "id",
cell: ({ row }) =>
platformUsersIdSet.has(row?.original?.id) ? <CheckCircledIcon /> : null,
},
Expand All @@ -50,7 +50,6 @@ export const getColumns: (
day: "numeric",
year: "numeric",
}),

footer: (props) => props.column.id,
},
];
Expand Down
3 changes: 2 additions & 1 deletion ui/src/containers/products.create/features-fields.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ export const FeatureFields = ({
isMulti
value={methods.getValues("features")}
placeholder="select multiple features"
data-test-id="multiple-features-select"
onChange={(data: any) =>
field.onChange(
data.map((d: any) => ({
Expand All @@ -75,7 +76,7 @@ export const FeatureFields = ({
}))
)
}
options={features}
options={features as any}
/>
)}
control={methods.control}
Expand Down

0 comments on commit 153e06a

Please sign in to comment.