Skip to content

Commit ea68444

Browse files
author
Melissa Thompson
committed
fix(toast): linting errors
1 parent 8306c76 commit ea68444

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

components/toast/stories/template.js

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,18 @@ export const Template = ({
1313
rootClass = "spectrum-Toast",
1414
message,
1515
inlineButtonLabel,
16-
width,
1716
variant,
1817
customClasses = [],
1918
id,
2019
...globals
2120
}) => {
2221

23-
const iconName =
22+
const iconName =
2423
variant === "negative"
2524
? "Alert"
2625
: variant === "positive"
27-
? "CheckmarkCircle"
28-
: "Info";
26+
? "CheckmarkCircle"
27+
: "Info";
2928

3029
return html`
3130
<div
@@ -42,7 +41,7 @@ export const Template = ({
4241
iconName: ifDefined(iconName),
4342
size: "m",
4443
customClasses: [`${rootClass}-typeIcon`],
45-
})
44+
})
4645
: ""}
4746
<div class="${rootClass}-body">
4847
<div class="${rootClass}-content">${message}</div>
@@ -54,7 +53,7 @@ export const Template = ({
5453
staticColor: "white",
5554
treatment: "outline",
5655
label: inlineButtonLabel,
57-
})
56+
})
5857
: ""}
5958
</div>
6059
<div class="${rootClass}-buttons">

0 commit comments

Comments
 (0)