Skip to content

Commit

Permalink
clean
Browse files Browse the repository at this point in the history
  • Loading branch information
broccolinisoup committed Aug 29, 2023
1 parent 2d39e3f commit c687771
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Button/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,6 @@ export function generateCustomSxProp(
// We need to make sure we add the data attributes to the base css class (& -> &[data-attributename="value"]]) otherwise sx styles are applied due to data attribute has more specificity than class selector
const cssSelector = `&${size}${block}${noVisuals}` // &[data-size="small"][data-block="block"][data-no-visuals="true"]

// we need to override it with the same specificty

const customSxProp: {
[key: string]: BetterSystemStyleObject
} = {}
Expand Down

0 comments on commit c687771

Please sign in to comment.