diff --git a/src/components/categories/categories.tsx b/src/components/categories/categories.tsx index dfde798..82df73f 100644 --- a/src/components/categories/categories.tsx +++ b/src/components/categories/categories.tsx @@ -45,8 +45,15 @@ export function Categories() { functional={false} icon={} id="favorites" - sounds={favoriteSounds} title="Favorites" + sounds={ + favoriteSounds as Array<{ + src: string; + label: string; + id: string; + icon: React.ReactNode; + }> + } /> )} diff --git a/src/components/category/category.tsx b/src/components/category/category.tsx index c7dda06..9857537 100644 --- a/src/components/category/category.tsx +++ b/src/components/category/category.tsx @@ -6,7 +6,7 @@ interface CategoryProps { icon: React.ReactNode; title: string; id: string; - functional: boolean; + functional?: boolean; sounds: Array<{ label: string; src: string;