Skip to content

fix(remix): Use React.ComponentType instead of React.FC as withSentry's generic type. #9043

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

Merged
merged 2 commits into from
Sep 19, 2023

Conversation

lifeiscontent
Copy link
Contributor

@lifeiscontent lifeiscontent commented Sep 18, 2023

Use generic that encapsulates all component types

Before submitting a pull request, please take a look at our
Contributing guidelines and verify:

  • If you've added code that should be tested, please add tests.
  • Ensure your code lints and the test suite passes (yarn lint) & (yarn test).

Use generic that encapsulates all component types
@Lms24 Lms24 requested a review from onurtemizkan September 19, 2023 07:27
Copy link
Collaborator

@onurtemizkan onurtemizkan left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@onurtemizkan onurtemizkan changed the title Update performance.tsx fix(remix): Use React.ComponentType instead of React.FC as withSentry's generic type. Sep 19, 2023
Copy link
Member

@Lms24 Lms24 left a comment

Choose a reason for hiding this comment

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

Thanks for contributing @lifeiscontent!

Just FYI, we open our PRs against the develop branch instead of master as we're (mostly) following git-flow. No problem though, I changed the target :)

@Lms24 Lms24 changed the base branch from master to develop September 19, 2023 12:08
@AbhiPrasad
Copy link
Member

@lifeiscontent if you rebase we can merge the PR in!

@AbhiPrasad
Copy link
Member

Actually it seems I could rebase - going to merge on my end. Thanks for the PR!

@AbhiPrasad AbhiPrasad merged commit 1971f64 into getsentry:develop Sep 19, 2023
@AbhiPrasad
Copy link
Member

Fix was released with with https://github.com/getsentry/sentry-javascript/releases/tag/7.70.0. Thanks for your contribution @lifeiscontent!

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.

4 participants