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

prep some components for react 18 #236

Merged
merged 3 commits into from
May 31, 2023

Conversation

martinmcneela
Copy link
Collaborator

BEFORE CREATING THIS PR, have you bumped the package JSON where
appropriate? Y

Ticket / Why this is needed:
No ticket

Link to Figma doc:
No Figma doc

Reason for this PR:
React 18 no longer includes children in the type React.FC, this PR will
pass children explicitly for some components (required in dashboard), this
will not effect older versions of react (the versions we use) as the
explicit passing will override the implicit.

@martinmcneela martinmcneela merged commit c0e77be into main May 31, 2023
@martinmcneela martinmcneela deleted the prep-some-components-for-react-18 branch May 31, 2023 17:05
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