Skip to content

Commit

Permalink
Fix enabled check
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-debruijn committed Jan 24, 2025
1 parent 3f6f599 commit 6f5191e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/api/organizers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const useGetOrganizersByQueryQuery = (
limit: paginationOptions.limit,
},
...configuration,
enabled: !!name && configuration.enabled === true,
enabled: !!name && configuration.enabled !== false,
});

type GetOrganizersArguments = {
Expand Down

0 comments on commit 6f5191e

Please sign in to comment.