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

chore: fix type error in ObservationsList component #280

Merged
merged 2 commits into from
Apr 25, 2024

Conversation

EvanHahn
Copy link
Contributor

This is a types-only change and should have no impact on functionality.

TypeScript complained about the type we used for <FlatList>'s getItemLayout prop. Specifically, it complained that the first argument was invalid.

We don't even use the first argument, so we can just use the unknown type to sidestep this issue.

This is a types-only change and should have no impact on functionality.

TypeScript complained about the type we used for `<FlatList>`'s
`getItemLayout` prop. Specifically, it complained that the first
argument was invalid.

We don't even use the first argument, so we can just use the `unknown`
type to sidestep this issue.
@EvanHahn EvanHahn merged commit 85cecfa into main Apr 25, 2024
3 checks passed
@EvanHahn EvanHahn deleted the fix-type-error-in-observations-list-item-layout branch April 25, 2024 19:23
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.

1 participant