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