Skip to content

Commit

Permalink
fix(tooltip-not-dissapeared): change css props instead of sytles props
Browse files Browse the repository at this point in the history
  • Loading branch information
prosdev0107 committed Feb 25, 2022
1 parent d2b7e30 commit cf10f65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset-frontend/src/components/Button/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ export default function Button(props: ButtonProps) {
{/* this ternary wraps the button in a span so that the tooltip shows up
when the button is disabled. */}
{disabled ? (
<span style={{ cursor: 'not-allowed' }}>{button}</span>
<span css={{ cursor: 'not-allowed' }}>{button}</span>
) : (
button
)}
Expand Down

0 comments on commit cf10f65

Please sign in to comment.