Skip to content

Commit f76c538

Browse files
committed
Use Object.values instead of destructuring Object.entries
Signed-off-by: Akshat Patel <[email protected]>
1 parent 87abc53 commit f76c538

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/icon/stories/many-icons-demo.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export class ManyIconDemo implements OnInit {
3232

3333
ngOnInit() {
3434
const iconMap = new Map();
35-
for (const [_, descriptor] of Object.entries(Icons)) {
35+
for (const descriptor of Object.values(Icons)) {
3636
this.iconService.register(descriptor as any);
3737
if (typeof descriptor === "object" && descriptor) {
3838
if (!iconMap.has(descriptor["name"])) {

0 commit comments

Comments
 (0)