feat: enhance API response handling and add new components for module management
This commit is contained in:
@@ -39,7 +39,8 @@ export default async function InvoicesPage({ params }: PageProps) {
|
||||
if (!acct) return <AccountNotFound />;
|
||||
|
||||
const api = createFinanceApi(client);
|
||||
const invoices = await api.listInvoices(acct.id);
|
||||
const invoicesResult = await api.listInvoices(acct.id);
|
||||
const invoices = invoicesResult.data;
|
||||
|
||||
return (
|
||||
<CmsPageShell account={account} title="Rechnungen">
|
||||
|
||||
Reference in New Issue
Block a user