Skip to content

Commit 32607c9

Browse files
Edits based on feedback (#410)
* remove Link component from page. This will be added later * re-add the Link component. Turns out is was supposed to be there * replace flex-grow with the new utility grow * issue: #415 * Add missing step --------- Co-authored-by: Delba de Oliveira <[email protected]> Co-authored-by: Delba de Oliveira <[email protected]>
1 parent 3d31555 commit 32607c9

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

dashboard/final-example/app/dashboard/layout.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default function Layout({ children }: { children: React.ReactNode }) {
66
<div className="w-full flex-none md:w-64">
77
<SideNav />
88
</div>
9-
<div className="flex-grow p-6 md:overflow-y-auto md:p-12">{children}</div>
9+
<div className="grow p-6 md:overflow-y-auto md:p-12">{children}</div>
1010
</div>
1111
);
1212
}

dashboard/final-example/app/ui/invoices/edit-form.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ export default function EditInvoiceForm({
7373
name="amount"
7474
type="number"
7575
defaultValue={invoice.amount}
76+
step="0.01"
7677
placeholder="Enter USD amount"
7778
className="peer block w-full rounded-md border border-gray-200 py-2 pl-10 text-sm outline-2 placeholder:text-gray-500"
7879
aria-describedby="amount-error"

dashboard/starter-example/app/ui/invoices/edit-form.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ export default function EditInvoiceForm({
5656
id="amount"
5757
name="amount"
5858
type="number"
59+
step="0.01"
5960
defaultValue={invoice.amount}
6061
placeholder="Enter USD amount"
6162
className="peer block w-full rounded-md border border-gray-200 py-2 pl-10 text-sm outline-2 placeholder:text-gray-500"

0 commit comments

Comments
 (0)