diff --git a/js/apps/admin-ui/src/events/UserEvents.tsx b/js/apps/admin-ui/src/events/UserEvents.tsx index c70ad3ec21b..58ae234319f 100644 --- a/js/apps/admin-ui/src/events/UserEvents.tsx +++ b/js/apps/admin-ui/src/events/UserEvents.tsx @@ -171,10 +171,10 @@ export const UserEvents = ({ user, client }: UserEventsProps) => { function loader(first?: number, max?: number) { return adminClient.realms.findEvents({ - // The admin client wants 'dateFrom' and 'dateTo' to be Date objects, however it cannot actually handle them so we need to cast to any. - ...(activeFilters as any), client, user, + // The admin client wants 'dateFrom' and 'dateTo' to be Date objects, however it cannot actually handle them so we need to cast to any. + ...(activeFilters as any), realm, first, max,