From c17964dd4e3dc14eb2b4b24e0562e40132698e84 Mon Sep 17 00:00:00 2001 From: Onno Visser <23527729+onnovisser@users.noreply.github.com> Date: Mon, 2 Oct 2023 16:37:26 +0200 Subject: [PATCH] fix connecting signle account --- centrifuge-app/src/utils/usePermissions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/centrifuge-app/src/utils/usePermissions.ts b/centrifuge-app/src/utils/usePermissions.ts index 2fbf758210..f961aa7eba 100644 --- a/centrifuge-app/src/utils/usePermissions.ts +++ b/centrifuge-app/src/utils/usePermissions.ts @@ -31,7 +31,7 @@ export function usePoolPermissions(poolId?: string) { export function useUserPermissionsMulti(addresses: string[], options?: { enabled?: boolean }) { const [result] = useCentrifugeQuery( - ['permissions', ...addresses], + ['permissionsMulti', ...addresses], (cent) => cent.pools.getUserPermissions([addresses]), { enabled: !!addresses.length && options?.enabled !== false,