diff --git a/app/routes/app._index.tsx b/app/routes/app._index.tsx index ffbfb45..6421031 100644 --- a/app/routes/app._index.tsx +++ b/app/routes/app._index.tsx @@ -113,20 +113,17 @@ export default function Index() { {recent.length === 0 ? ( - - - No invoices yet - - Generate your first invoice from the Invoices page or directly - from a Shopify order. - - Open invoices → - - + + No invoices yet + + Generate your first invoice from the Invoices page or directly + from a Shopify order. + + Open invoices → + ) : ( @@ -171,11 +168,9 @@ export default function Index() { )} - - - View all invoices → - - + + View all invoices → + diff --git a/app/routes/app.invoices.tsx b/app/routes/app.invoices.tsx index c7cb8af..2467499 100644 --- a/app/routes/app.invoices.tsx +++ b/app/routes/app.invoices.tsx @@ -140,48 +140,42 @@ export default function InvoicesPage() { return ( - - - - - Generate the invoice for an order, regenerate an unsent draft, - or cancel-and-reissue a sent one. Newest orders appear first. - + + + + Generate the invoice for an order, regenerate an unsent draft, + or cancel-and-reissue a sent one. Newest orders appear first. + - - - All - - - Missing invoice - - - Has invoice - - + + + All + + + Missing invoice + + + Has invoice + - + {isLoading ? ( - - - - Loading… - - + + + Loading… + ) : orders.length === 0 ? ( - - - No orders match this filter - - Try a different filter or wait for new orders. - - - + + No orders match this filter + + Try a different filter or wait for new orders. + + ) : (