Skip to content

Commit a838ca7

Browse files
author
Simon Planinschek
committed
fix typo
1 parent cbdc09e commit a838ca7

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

generator.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const axios = require('axios')
55
// This is the number of icons each thread will be downloading
66
const DOWNLOAD_CHUNK_SIZE = 500
77
const GOOGLE_FONTS_URL = 'https://fonts.google.com/metadata/icons'
8-
const ICON_FAMILTIES = [
8+
const ICON_FAMILIES = [
99
{ id: 'materialicons', namePostfix: '' },
1010
{ id: 'materialiconsoutlined', namePostfix: 'Outlined' },
1111
{ id: 'materialiconsround', namePostfix: 'Round' },
@@ -73,8 +73,8 @@ async function generateComponent(icons) {
7373
for (let i = 0; i < icons.length; i++) {
7474
const icon = icons[i]
7575

76-
for (let j = 0; j < ICON_FAMILTIES.length; j++) {
77-
const family = ICON_FAMILTIES[j]
76+
for (let j = 0; j < ICON_FAMILIES.length; j++) {
77+
const family = ICON_FAMILIES[j]
7878

7979
const name = formatName(icon.name, family.namePostfix)
8080
const svg = await getSVGFile(icon.name, family.id, icon.version)

0 commit comments

Comments
 (0)