Skip to content

Commit

Permalink
fix: Broken dynamic useStyles prop
Browse files Browse the repository at this point in the history
  • Loading branch information
bprusinowski committed Aug 25, 2022
1 parent 98b0e2b commit 588c273
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions app/configurator/components/chart-configurator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -455,12 +455,9 @@ const useStyles = makeStyles<
opacity: 0.25,
color: "secondary.active",
},
".buttons:hover": (props) =>
props.fetching
? {}
: {
opacity: 1,
},
"& .buttons:hover": {
opacity: ({ fetching }) => (fetching ? undefined : 1),
},
"& > *": {
overflow: "hidden",
},
Expand Down

0 comments on commit 588c273

Please sign in to comment.