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

Update NavLink.js #423

Merged
merged 2 commits into from
Mar 21, 2021
Merged

Update NavLink.js #423

merged 2 commits into from
Mar 21, 2021

Conversation

kevinashworth
Copy link
Member

Eliminate two causes of console warnings.

  1. The 'elevation' prop is a number, not a string.
  2. Due to a bug referenced in the following links, put a 'div' around 'children'. See Function components cannot be given refs jcoreio/material-ui-popup-state#11 and Menu Component "Function components cannot be given refs" mui/material-ui#15903 (comment)

Eliminate two causes of console warnings. 
1. The 'elevation' prop is a number, not a string.
2. Due to a bug referenced in the following links, put a 'div' around 'children'. See jcoreio/material-ui-popup-state#11 and mui/material-ui#15903 (comment)
@codeclimate
Copy link

codeclimate bot commented Mar 21, 2021

Code Climate has analyzed commit 2a4a42f and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 92.6% (0.0% change).

View more on Code Climate.

Copy link
Contributor

@codewilling codewilling left a comment

Choose a reason for hiding this comment

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

Nice find.

@codewilling codewilling merged commit 284e1d0 into main Mar 21, 2021
@codewilling codewilling deleted the kevinashworth/patch-navlink branch March 21, 2021 20:00
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.

2 participants