diff --git a/dashboard/final-example/app/dashboard/layout.tsx b/dashboard/final-example/app/dashboard/layout.tsx index 024d269..8fbc323 100644 --- a/dashboard/final-example/app/dashboard/layout.tsx +++ b/dashboard/final-example/app/dashboard/layout.tsx @@ -6,7 +6,7 @@ export default function Layout({ children }: { children: React.ReactNode }) {
-
{children}
+
{children}
); } diff --git a/dashboard/final-example/app/ui/invoices/edit-form.tsx b/dashboard/final-example/app/ui/invoices/edit-form.tsx index d39da4c..d11f739 100644 --- a/dashboard/final-example/app/ui/invoices/edit-form.tsx +++ b/dashboard/final-example/app/ui/invoices/edit-form.tsx @@ -73,6 +73,7 @@ export default function EditInvoiceForm({ name="amount" type="number" defaultValue={invoice.amount} + step="0.01" placeholder="Enter USD amount" className="peer block w-full rounded-md border border-gray-200 py-2 pl-10 text-sm outline-2 placeholder:text-gray-500" aria-describedby="amount-error" diff --git a/dashboard/starter-example/app/ui/invoices/edit-form.tsx b/dashboard/starter-example/app/ui/invoices/edit-form.tsx index 7100dd2..8238cb6 100644 --- a/dashboard/starter-example/app/ui/invoices/edit-form.tsx +++ b/dashboard/starter-example/app/ui/invoices/edit-form.tsx @@ -56,6 +56,7 @@ export default function EditInvoiceForm({ id="amount" name="amount" type="number" + step="0.01" defaultValue={invoice.amount} placeholder="Enter USD amount" className="peer block w-full rounded-md border border-gray-200 py-2 pl-10 text-sm outline-2 placeholder:text-gray-500"