Skip to content

Commit cd8e3ff

Browse files
authored
Merge pull request #2969 from pyth-network/fix/lint
fix: sass lint
2 parents b98c1f3 + 63f56f0 commit cd8e3ff

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

packages/component-library/src/SingleToggleGroup/index.module.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,15 @@
2020
transition-duration: 100ms;
2121
transition-timing-function: linear;
2222
}
23+
2324
&[data-rounded] {
2425
border-radius: theme.border-radius("full");
26+
2527
.bubble {
2628
border-radius: theme.border-radius("full");
2729
}
2830
}
29-
31+
3032
&[data-selected] {
3133
color: theme.color("button", "solid", "foreground");
3234
pointer-events: none;
@@ -44,7 +46,6 @@
4446
);
4547
}
4648

47-
4849
&[data-pressed] .bubble {
4950
background-color: theme.color(
5051
"button",

packages/component-library/src/SingleToggleGroup/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export const SingleToggleGroup = ({
6666
)}
6767
data-size="sm"
6868
data-variant="ghost"
69-
data-rounded={rounded ? true : undefined}
69+
data-rounded={rounded ? "" : undefined}
7070
{...toggleButton}
7171
>
7272
{(args) => (

0 commit comments

Comments
 (0)