Skip to content

Commit

Permalink
Centrifuge App: Fix connecting single account (#1620)
Browse files Browse the repository at this point in the history
  • Loading branch information
onnovisser authored and gpmayorga committed Nov 23, 2023
1 parent 3f46068 commit eee0dfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion centrifuge-app/src/utils/usePermissions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit eee0dfe

Please sign in to comment.