Skip to content

Commit

Permalink
Update: Remove repeated and condition on useElevation. (WordPress#42048)
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgefilipecosta authored Jun 30, 2022
1 parent 88d588b commit c40b6b8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/components/src/elevation/hook.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ export function useElevation( props ) {
return cx(
styles.Elevation,
sx.Base,
sx.hover && sx.hover,
sx.focus && sx.focus,
sx.active && sx.active,
sx.hover,
sx.focus,
sx.active,
className
);
}, [
Expand Down

0 comments on commit c40b6b8

Please sign in to comment.