Skip to content

Commit eea7b0c

Browse files
committed
Fix build errors
1 parent ec8b0ff commit eea7b0c

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

apps/client/src/components/Form/FormField.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export interface FancyInputProps {
1010
errors?: FieldError;
1111
}
1212

13-
function FormField({ label, hint, required, className, errors, children }: FancyInputProps) {
13+
function FormField({ label, hint, required, className, children }: FancyInputProps) {
1414
return (
1515
<div className={classNames(className, 'relative my-6')}>
1616
<div className="mb-2 ms-1">

apps/client/src/components/Warehouse/WarehouseUpdateForm.tsx

+4-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,10 @@ function WarehouseUpdateForm({ warehouse }: WarehouseUpdateFormProps) {
4646
}
4747

4848
return (
49-
<Form onSubmit={handleSubmit(onSubmit)}>
49+
<Form
50+
onSubmit={handleSubmit(onSubmit)}
51+
loading={loading}
52+
>
5053
<FormField label="Organization">
5154
<FormInput
5255
value={appContext.organization.name}

0 commit comments

Comments
 (0)