We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb601cf commit fc6b93cCopy full SHA for fc6b93c
packages/chrome/src/components/TabStrip.tsx
@@ -138,10 +138,7 @@ export const DragTab: Component<
138
}}
139
>
140
<div class={use(this.active).map((x) => `main ${x ? "active" : ""}`)}>
141
- <img
142
- src={use(this.tab.icon)}
143
- on:error={() => (this.tab.icon = defaultFaviconUrl)}
144
- />
+ {use(this.tab.icon).andThen(<img src={use(this.tab.icon)} />)}
145
<span>{use(this.tab.title)}</span>
146
<button
147
class="close"
0 commit comments