Skip to content

Commit bafdfd0

Browse files
chore(progressbar): shorten trackFill and progressBarFill assignments
1 parent 502b541 commit bafdfd0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/progressbar/stories/template.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ export const Template = ({
3333
style=${styleMap({
3434
"width": customWidth,
3535
...customStyles,
36-
"--mod-progressbar-track-color": trackFill ? trackFill : undefined,
37-
"--mod-progressbar-fill-color": progressBarFill ? progressBarFill : undefined,
36+
"--mod-progressbar-track-color": trackFill,
37+
"--mod-progressbar-fill-color": progressBarFill,
3838
})}
3939
value=${ifDefined(value ? `${value}%` : undefined)}
4040
aria-valuenow=${ifDefined(value ? `${value}%` : undefined)}

0 commit comments

Comments
 (0)