diff --git a/src/content/github/common/fetchers.ts b/src/content/github/common/fetchers.ts index 8807c29..6f5305f 100644 --- a/src/content/github/common/fetchers.ts +++ b/src/content/github/common/fetchers.ts @@ -35,7 +35,7 @@ export async function getComponents(metadata: FileMetadata): Promise { referrer: window.location.href, }); - const components = response.ok ? response.data : []; + const components = response.ok ? response.data.results : []; return components.map((c: any) => c.component_id); }