diff options
author | Sebastian <sebasjm@gmail.com> | 2024-04-03 13:37:27 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2024-04-03 14:56:30 -0300 |
commit | 4bf1ab8ba924b2a0fc4813814bdeeb66a2928382 (patch) | |
tree | 8052cd83d9935db2c054a58f7d231c528b8dfc0d /packages/merchant-backoffice-ui/src/hooks/order.ts | |
parent | 56da180423029a1b53d2be343eed4f073e96dc89 (diff) | |
download | wallet-core-4bf1ab8ba924b2a0fc4813814bdeeb66a2928382.tar.gz wallet-core-4bf1ab8ba924b2a0fc4813814bdeeb66a2928382.tar.bz2 wallet-core-4bf1ab8ba924b2a0fc4813814bdeeb66a2928382.zip |
wip #8655: fixing broken builddev/sebasjm/refactor-merchant-2
Diffstat (limited to 'packages/merchant-backoffice-ui/src/hooks/order.ts')
-rw-r--r-- | packages/merchant-backoffice-ui/src/hooks/order.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/merchant-backoffice-ui/src/hooks/order.ts b/packages/merchant-backoffice-ui/src/hooks/order.ts index 47ddf1c38..1ce76bf58 100644 --- a/packages/merchant-backoffice-ui/src/hooks/order.ts +++ b/packages/merchant-backoffice-ui/src/hooks/order.ts @@ -88,7 +88,7 @@ export function useInstanceOrders( if (error) return error; if (data === undefined) return undefined; - if (data.type !== "ok") return data; + // if (data.type !== "ok") return data; return buildPaginatedResult(data.body.orders, args?.position, updatePosition, (d) => String(d.row_id)) } |