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:
1a68b8a

@codecov-commenter
Copy link

Codecov Report

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

Project coverage is 67.17%. Comparing base (88fb1e6) to head (1a68b8a).

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.15%   67.17%   +0.01%     
==========================================
  Files         128      128              
  Lines        3440     3436       -4     
  Branches     1067     1085      +18     
==========================================
- Hits         2310     2308       -2     
+ Misses       1130     1128       -2     

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

@leSamo leSamo requested review from mkholjuraev and a team September 18, 2024 09:02
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