added required field to manufacturers

This commit is contained in:
Brandon Egger
2023-03-29 00:05:42 -05:00
parent 088f7c3540
commit 54eff320bf
3 changed files with 26 additions and 7 deletions

View File

@ -68,7 +68,7 @@ export const ResourceInfo = ({resource, showMoreInfo}: {resource: AuditoryResour
</div>
<div className="grid place-items-center">
<div className="">
<h2 className="text-xs italic text-gray-600">{resource.manufacturer}</h2>
<h2 className="text-xs italic text-gray-600">{resource.manufacturer?.name}</h2>
<h1 className="font-bold text-xl">{resource.name}</h1>
<PlatformInfo platformLinks={resource.platform_links}/>
<PriceIcons type={resource?.payment_options[0] ?? 'FREE'} />