Skip to content

Commit

Permalink
fix: strict template error
Browse files Browse the repository at this point in the history
  • Loading branch information
scttcper committed Aug 9, 2018
1 parent a18f3cd commit 7984827
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/lib/picker/anchors.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,7 @@ import { EmojiCategory } from '@ctrl/ngx-emoji-mart/ngx-emoji';
<path [attr.d]="icons[category.id]" />
</svg>
</div>
<span
class="emoji-mart-anchor-bar"
[style.background-color]="color"
></span>
<span class="emoji-mart-anchor-bar" [style.background-color]="color"></span>
</span>
</ng-template>
</div>
Expand All @@ -42,7 +39,7 @@ export class AnchorsComponent {
@Input() color?: string;
@Input() selected?: string;
@Input() i18n: any;
@Input() icons?: { [key: string]: string };
@Input() icons: { [key: string]: string } = {};
@Output() anchorClick = new EventEmitter<{ category: EmojiCategory, index: number }>();

trackByFn(idx: number, cat: EmojiCategory) {
Expand Down

0 comments on commit 7984827

Please sign in to comment.