Skip to content

Commit

Permalink
fix(ui5-toast): fix template and remove additional text (#10559)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilhan007 authored Jan 14, 2025
1 parent d5eff51 commit ad8f08f
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions packages/main/src/ToastTemplate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@ import type Toast from "./Toast.js";

export default function ToastTemplate(this: Toast) {
return <>
this.open &&
<div class="ui5-toast-root" role="alert" tabindex={this._tabindex}>
<bdi><slot></slot></bdi>
</div>
{
this.open &&
<div class="ui5-toast-root" role="alert" tabindex={this._tabindex}>
<bdi><slot></slot></bdi>
</div>
}
</>;
}

0 comments on commit ad8f08f

Please sign in to comment.