Forráskód Böngészése

Merge pull request #2969 from pyth-network/fix/lint

fix: sass lint
Alexandru Cambose 3 hónapja
szülő
commit
cd8e3ff35f

+ 3 - 2
packages/component-library/src/SingleToggleGroup/index.module.scss

@@ -20,13 +20,15 @@
       transition-duration: 100ms;
       transition-timing-function: linear;
     }
+
     &[data-rounded] {
       border-radius: theme.border-radius("full");
+
       .bubble {
         border-radius: theme.border-radius("full");
       }
     }
-    
+
     &[data-selected] {
       color: theme.color("button", "solid", "foreground");
       pointer-events: none;
@@ -44,7 +46,6 @@
           );
         }
 
-
         &[data-pressed] .bubble {
           background-color: theme.color(
             "button",

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

@@ -66,7 +66,7 @@ export const SingleToggleGroup = ({
           )}
           data-size="sm"
           data-variant="ghost"
-          data-rounded={rounded ? true : undefined}
+          data-rounded={rounded ? "" : undefined}
           {...toggleButton}
         >
           {(args) => (