From 7f3253333ebd5ac825901f2f74db690588d3ac96 Mon Sep 17 00:00:00 2001
From: Sebastian <sebasjm@gmail.com>
Date: Tue, 9 Apr 2024 13:21:51 -0300
Subject: fix #8716 and pagination

---
 .../src/paths/instance/webhooks/list/index.tsx                      | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'packages/merchant-backoffice-ui/src/paths/instance/webhooks/list/index.tsx')

diff --git a/packages/merchant-backoffice-ui/src/paths/instance/webhooks/list/index.tsx b/packages/merchant-backoffice-ui/src/paths/instance/webhooks/list/index.tsx
index 6c68bc973..988a54604 100644
--- a/packages/merchant-backoffice-ui/src/paths/instance/webhooks/list/index.tsx
+++ b/packages/merchant-backoffice-ui/src/paths/instance/webhooks/list/index.tsx
@@ -76,9 +76,9 @@ export default function ListWebhooks({ onCreate, onSelect }: Props): VNode {
       <NotificationCard notification={notif} />
 
       <ListPage
-        webhooks={result.body}
-        onLoadMoreBefore={result.isFirstPage ? undefined : result.loadFirst}
-        onLoadMoreAfter={result.isLastPage ? undefined : result.loadNext}
+        webhooks={result.body.webhooks}
+        onLoadMoreBefore={undefined} //result.isFirstPage ? undefined : result.loadFirst}
+        onLoadMoreAfter={undefined} //result.isLastPage ? undefined : result.loadNext}
         onCreate={onCreate}
         onSelect={(e) => {
           onSelect(e.webhook_id);
-- 
cgit v1.2.3

