Skip to content

Commit

Permalink
Add type
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-debruijn committed Dec 11, 2024
1 parent 253094b commit c770e0c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/hooks/ownerships/useOwnershipActions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,8 @@ const OwnershipActionModal = ({
// otherwise the query in the action will trigger the query on the page continuously
queryKey: ['organizers', 'action-modal'],
},
);
) as UseQueryResult<GetOrganizerByIdResponse>;

// @ts-expect-error
const organizer: Organizer = getOrganizerByIdQuery?.data;
const organizerName =
organizer?.name?.[i18n.language] ??
Expand Down

0 comments on commit c770e0c

Please sign in to comment.