Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

III-6393 - Display creator email #953

Merged
merged 6 commits into from
Nov 22, 2024
Merged

III-6393 - Display creator email #953

merged 6 commits into from
Nov 22, 2024

Conversation

vhande
Copy link
Contributor

@vhande vhande commented Nov 13, 2024

Added

  • useGetOwnershipCreatorQuery

Ticket: https://jira.uitdatabank.be/browse/III-6393

Comment on lines +84 to +85
// @ts-expect-error
const creator = getOwnershipCreatorQuery.data;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// @ts-expect-error
const creator = getOwnershipCreatorQuery.data;
const creator: OwnershipCreator | undefined = getOwnershipCreatorQuery.data;

I think you can manually add the type

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The problem is that the type does not include a data property.

@vhande vhande merged commit fef547a into main Nov 22, 2024
5 checks passed
@vhande vhande deleted the feature/III-6393 branch November 22, 2024 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants