diff --git a/src/components/Course.astro b/src/components/Course.astro index 98e8ad9..9352682 100644 --- a/src/components/Course.astro +++ b/src/components/Course.astro @@ -8,7 +8,7 @@ let { title, website, description, provider } = course; - {provider.map((provider, index) => + {provider.map((provider: { website: string | URL; name: unknown; }, index: any) => provider.website ? {provider.name} : {provider.name}