Fix folder icon
This commit is contained in:
parent
ecfc2cf58b
commit
f75144540a
|
@ -22,7 +22,7 @@ const { getLocalizedUrl, getLocalizedMatch } = await getI18n(Astro.locals.curren
|
||||||
folders.map(({ slug, translations, icon }) => (
|
folders.map(({ slug, translations, icon }) => (
|
||||||
<FolderCard
|
<FolderCard
|
||||||
title={getLocalizedMatch(translations).name}
|
title={getLocalizedMatch(translations).name}
|
||||||
icon={icon ? `material-symbols:${icon}` : undefined}
|
icon={icon}
|
||||||
href={getLocalizedUrl(`/folders/${slug}`)}
|
href={getLocalizedUrl(`/folders/${slug}`)}
|
||||||
/>
|
/>
|
||||||
))
|
))
|
||||||
|
|
Loading…
Reference in New Issue