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

Remove deprecated Component.defaultProps #2137

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

leSamo
Copy link
Member

@leSamo leSamo commented Sep 10, 2024

Fix the following error which was printed into console when running Jest tests:

Warning: MessageState: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.

@leSamo leSamo requested a review from a team as a code owner September 10, 2024 16:02
Copy link

jira-linking bot commented Sep 10, 2024

Commits missing Jira IDs:
bf33d51

@codecov-commenter
Copy link

codecov-commenter commented Sep 10, 2024

Codecov Report

Attention: Patch coverage is 85.71429% with 3 lines in your changes missing coverage. Please review.

Project coverage is 67.06%. Comparing base (14e6ed2) to head (bf33d51).

Files with missing lines Patch % Lines
...ents/SmartComponents/Reports/DownloadCVEsReport.js 0.00% 2 Missing ⚠️
...s/SmartComponents/Reports/DownloadSystemsReport.js 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2137      +/-   ##
==========================================
+ Coverage   67.04%   67.06%   +0.01%     
==========================================
  Files         129      129              
  Lines        3462     3458       -4     
  Branches     1073     1091      +18     
==========================================
- Hits         2321     2319       -2     
+ Misses       1141     1139       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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.

3 participants