diff --git a/apps/deploy-web/src/components/deployments/DeploymentDepositModal.tsx b/apps/deploy-web/src/components/deployments/DeploymentDepositModal.tsx index 743853345..5e620c4cc 100644 --- a/apps/deploy-web/src/components/deployments/DeploymentDepositModal.tsx +++ b/apps/deploy-web/src/components/deployments/DeploymentDepositModal.tsx @@ -50,10 +50,9 @@ const formSchema = z .object({ amount: z.coerce .number({ - required_error: "Amount is required", - invalid_type_error: "Amount must be a number" + invalid_type_error: "Amount must be a number." }) - .min(0.000001, { message: "Amount must be greater than 0" }), + .min(0.000001, { message: "Amount is required." }), useDepositor: z.boolean().optional(), depositorAddress: z.string().optional() }) diff --git a/apps/deploy-web/src/components/deployments/DeploymentList.tsx b/apps/deploy-web/src/components/deployments/DeploymentList.tsx index 1a25bd9b5..cb0eb4396 100644 --- a/apps/deploy-web/src/components/deployments/DeploymentList.tsx +++ b/apps/deploy-web/src/components/deployments/DeploymentList.tsx @@ -6,7 +6,6 @@ import { CheckboxWithLabel, CustomPagination, Input, - Label, Spinner, Table, TableBody, @@ -184,10 +183,10 @@ export const DeploymentList: React.FunctionComponent = () => { {((filteredDeployments?.length || 0) > 0 || !!search) && (
- = ({ dseq }) => {
- = ({ dseq }) => { onChange={onSearchChange} type="text" className="w-full" + label="Search provider" endIcon={ search && (