Skip to content

Commit

Permalink
chore: remove biome lint rule useSelfClosingElements
Browse files Browse the repository at this point in the history
  • Loading branch information
danielkaxis committed Oct 3, 2023
1 parent 2afc405 commit 5d8f4a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
"noUnusedTemplateLiteral": "off",
"useExponentiationOperator": "off",
"noParameterAssign": "off",
"useEnumInitializers": "off",
"useSelfClosingElements": "off"
"useEnumInitializers": "off"
},
"a11y": {
"noSvgWithoutTitle": "off"
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/Slider/Tick.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ export const TickLabel: FC<TickLabelProps> = ({
return (
<BaseLabel ref={el} center={position} width={width} disabled={disabled}>
<LabelContainer onClick={handleClick}>
<BoxHalo width={width}></BoxHalo>
<BoxHalo width={width} />
<Label>{label === undefined ? value : label}</Label>
</LabelContainer>
</BaseLabel>
Expand Down

0 comments on commit 5d8f4a8

Please sign in to comment.