1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-08 04:33:38 +00:00

remove unnecessary let variables

This commit is contained in:
Bryan Cunningham
2026-01-16 10:18:08 -05:00
parent f159c007ec
commit cb486ef855

View File

@@ -1,12 +1,9 @@
@let leadIcon = startIcon();
@let tailIcon = endIcon();
@if (leadIcon) {
<i class="{{ startIconClasses() }}" aria-hidden="true"></i>
@if (startIcon()) {
<i [class]="['bwi', startIcon()]" aria-hidden="true"></i>
}
<span>
<ng-content></ng-content>
</span>
@if (tailIcon) {
<i class="{{ endIconClasses() }}" aria-hidden="true"></i>
@if (endIcon()) {
<i [class]="['bwi', endIcon()]" aria-hidden="true"></i>
}