Skip to content

Commit

Permalink
fix emotion warning first-child
Browse files Browse the repository at this point in the history
  • Loading branch information
siriwatknp committed Feb 20, 2023
1 parent b9a26a1 commit 529dc45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/mui-docs/src/NProgressBar/NProgressBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,13 @@ function NProgressBar(props) {
borderRadius: '100%',
animation: `${muiNProgressPulse} 2s ease-out 0s infinite`,
},
'& .nprogress-bar > div:first-child': {
'& .nprogress-bar > div:first-of-type': {
opacity: 0.6,
width: 20,
right: 0,
clip: 'rect(-6px,22px,14px,10px)',
},
'& .nprogress-bar > div:last-child': {
'& .nprogress-bar > div:last-of-type': {
opacity: 0.6,
width: 180,
right: -80,
Expand Down

0 comments on commit 529dc45

Please sign in to comment.