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

test(ui): Switch children to react nodes #66390

Merged
merged 1 commit into from Mar 6, 2024

Conversation

scttcper
Copy link
Member

@scttcper scttcper commented Mar 6, 2024

  • adds a missing children prop, swaps ReactElement to ReactNode
  • removes a render function used as a child

all part of type errors for react 18 https://github.com/getsentry/frontend-tsc/issues/22

- adds a missing children prop, swaps ReactElement to ReactNode
- removes a render function used as a child

all part of type errors for react 18 getsentry/frontend-tsc#22
@scttcper scttcper requested a review from a team as a code owner March 6, 2024 01:16
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Mar 6, 2024
@scttcper scttcper requested a review from a team March 6, 2024 01:16
@@ -18,15 +18,16 @@ describe('NoProjectMessage', function () {

it('renders', function () {
const organization = OrganizationFixture({slug: 'org-slug'});
const childrenMock = jest.fn().mockReturnValue(null);
Copy link
Member

Choose a reason for hiding this comment

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

Glad to see this go

@scttcper scttcper merged commit a023729 into master Mar 6, 2024
40 checks passed
@scttcper scttcper deleted the scttcper/test-react-node-types branch March 6, 2024 19:30
aliu3ntry pushed a commit that referenced this pull request Mar 6, 2024
- adds a missing children prop, swaps ReactElement to ReactNode
- removes a render function used as a child
@github-actions github-actions bot locked and limited conversation to collaborators Mar 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Scope: Frontend Automatically applied to PRs that change frontend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants